From 65ff05428f0eb9e1a03b5ec166f88f3e3d7299a2 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 16 Dec 2016 22:26:34 -0500 Subject: [PATCH] Move ls aliases to their respective os topics --- os/macos/aliases.zsh | 1 - shell/aliases.sh | 6 ------ 2 files changed, 7 deletions(-) diff --git a/os/macos/aliases.zsh b/os/macos/aliases.zsh index fb5acf40..637b001b 100644 --- a/os/macos/aliases.zsh +++ b/os/macos/aliases.zsh @@ -1,4 +1,3 @@ -alias ls='ls -G' alias ls="${aliases[ls]:-ls} -G" alias date='gdate' diff --git a/shell/aliases.sh b/shell/aliases.sh index 0fabb788..55b6dcd5 100644 --- a/shell/aliases.sh +++ b/shell/aliases.sh @@ -43,12 +43,6 @@ alias exe='exercism' # .gitattributes | map dirname alias map="xargs -n1" -# Colored ls -case $OSTYPE in - darwin*) alias ls='ls -G' ;; - linux*) alias ls='ls --color=auto' ;; -esac - take() { mkdir "$1" && cd "$1"; } hex() { echo -n $@ | xxd -psdu; }