summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zsh/.zshrc12
1 files changed, 5 insertions, 7 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 904efe5..6d013c6 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -185,25 +185,23 @@ function maybe_add_dir_to_path {
maybe_add_dir_to_path ~/local_bin
maybe_add_dir_to_path /home/pks/local_bin
maybe_add_dir_to_path ~/.sync/local_bin
+maybe_add_dir_to_path ~/.sync/sync/local_bin
maybe_add_dir_to_path /home/pks/.sync/local_bin
maybe_add_dir_to_path ~/nlp_scripts
maybe_add_dir_to_path /home/pks/nlp_scripts
maybe_add_dir_to_path ~/.sync/nlp_scripts
maybe_add_dir_to_path /home/pks/.sync/nlp_scripts
maybe_add_dir_to_path /usr/lib/colorgcc/bin
+maybe_add_dir_to_path /opt/local/bin
+maybe_add_dir_to_path /opt/local/sbin
which R &>/dev/null
if [[ $? == 0 ]]; then
maybe_add_dir_to_path $HOME/.R
fi
-if [[ -x $(which nvim &>/dev/null) ]]; then
- export EDITOR='nvim -p'
- alias qmv='qmv -envim -fdo'
-else
- export EDITOR='vim -p'
- alias qmv='qmv -evim -fdo'
-fi
+export EDITOR='vim -p'
+alias qmv='qmv -evim -fdo'
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8