summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpks <pks@pks.rocks>2022-12-31 10:47:26 +0100
committerpks <pks@pks.rocks>2022-12-31 10:47:26 +0100
commit49be340826aa1c58a70d1c4ef64e5e0c8a6517b8 (patch)
treef02f540445e1622dcadbce8cab62e0ffd0b7ee97
parentdf23abad128354783417ca65ba17d8cb22df248c (diff)
zsh
-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