summaryrefslogtreecommitdiff
path: root/dotfiles-darwin/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles-darwin/zsh')
-rw-r--r--dotfiles-darwin/zsh/profile5
-rw-r--r--dotfiles-darwin/zsh/rc7
2 files changed, 1 insertions, 11 deletions
diff --git a/dotfiles-darwin/zsh/profile b/dotfiles-darwin/zsh/profile
index 8edc3bb..35e5d91 100644
--- a/dotfiles-darwin/zsh/profile
+++ b/dotfiles-darwin/zsh/profile
@@ -2,10 +2,7 @@
() {
local dir
- for dir (
- /usr/local/opt/*/libexec/gnubin(N)
- ~/Applications/Emacs.app/Contents/MacOS/bin
- ); do
+ for dir in /usr/local/opt/*/libexec/gnubin(N); do
[[ -d ${dir} ]] && path=(${dir} ${path})
done
}
diff --git a/dotfiles-darwin/zsh/rc b/dotfiles-darwin/zsh/rc
index 145b177..11bb8f1 100644
--- a/dotfiles-darwin/zsh/rc
+++ b/dotfiles-darwin/zsh/rc
@@ -9,13 +9,6 @@ alias pip=pip3
alias python=python3
alias rsync='rsync --exclude=.DS_Store'
-() {
- local emacs=~/Applications/Emacs.app/Contents/MacOS/Emacs
- if ! which emacs >/dev/null && [[ -x ${emacs} ]]; then
- alias emacs=${emacs}
- fi
-}
-
if (( ${path[(I)/usr/local/opt/coreutils/libexec/gnubin]} )); then
alias ls='ls --color --group-directories-first'
alias lsh='ls -Shrs'