Permalink
Browse files

updating bash

  • Loading branch information...
1 parent d03b514 commit bd93338c89c4fa4fca9d1a26cd4e340d98c9999c @zanshin committed Dec 30, 2015
Showing with 7 additions and 6 deletions.
  1. +7 −3 bash/bashrc
  2. +0 −3 zsh/aliases.zsh
View
@@ -3,7 +3,8 @@
#
# The individual per-interactive-shell startup file
# OS'es this is made to work (reasonably) well on are:
-# - Linux (specifcially RedHat)
+# - Mac OS X
+# - Linux (specifcially Ubuntu and RedHat)
# - Solaris (specifically 2.5.1 - 2.8)
#
# ------------------------------------------------------------------
@@ -93,7 +94,6 @@ for i in ${quoteold[@]} ; do
else
NEWPATH=${NEWPATH}:"$i"
fi
-fi
done
export PATH=$NEWPATH
@@ -102,7 +102,11 @@ export PERLDOC="-U"
export MANPATH=${MANPATH}:${HOME}/man
# export EDITOR, PAGER, and LESS
-export EDITOR=vim
+if [ "myos" == "Darwin" ]; then
+ export EDITOR=nvim
+else
+ export EDITOR=vim
+fi
export PAGER=less
export LESS="-M -n -q -i"
View
@@ -81,9 +81,6 @@ if [[ $IS_MAC -eq 1 ]]; then
alias defhist='history 1 | grep "defaults"'
fi
-# The Venerable Mutt
-alias mutt 'cd ~/Desktop && mutt'
-
# tmux scripts
alias blog='~/.dotfiles/scripts/blog'
alias chef='~/.dotfiles/scripts/chef'

0 comments on commit bd93338

Please sign in to comment.