aboutsummaryrefslogtreecommitdiffstats
path: root/.zshrc.local
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-01-06 19:07:26 +0800
committerAaron LI <aaronly.me@gmail.com>2016-01-06 19:07:26 +0800
commit258b5a48933b2c34dcfb042029d477ba285071d7 (patch)
treedfea371b67fe8f5e5c1f08d89cd96b8f759b0fcb /.zshrc.local
parent4ddf40c8fe543d07738e5368194ebcb9cf06b136 (diff)
downloaddotfiles-258b5a48933b2c34dcfb042029d477ba285071d7.tar.bz2
Add .Xmodmap & .inputrc; Other small updates.
* .Xmodmap: disable CapsLock key * .inputrc: vi-style bindings for readline
Diffstat (limited to '.zshrc.local')
-rw-r--r--.zshrc.local13
1 files changed, 4 insertions, 9 deletions
diff --git a/.zshrc.local b/.zshrc.local
index 90db61b..9e5d50d 100644
--- a/.zshrc.local
+++ b/.zshrc.local
@@ -5,8 +5,8 @@
## 2014/05/31
### locale {{{
-export LANG="en_US.utf8"
-export LC_CTYPE="zh_CN.utf8"
+export LANG="en_US.UTF-8"
+export LC_CTYPE="zh_CN.UTF-8"
export LC_COLLATE="C"
### }}}
@@ -15,7 +15,7 @@ if [ -d "$HOME/bin" ]; then
export PATH="$HOME/bin:$PATH"
fi
# admin
-if `groups | grep -qE '\b(wheel|adm|sudo)\b'`; then
+if groups | grep -qE '\b(wheel|adm|sudo)\b'; then
export PATH="$PATH:/usr/local/sbin:/usr/sbin:/sbin"
fi
@@ -54,11 +54,6 @@ fi
### python-virtualenv }}}
### astro {{{
-## DS9 settings
-#if [ -x $HOME/bin/ds9 ]; then
-# alias ds9="$HOME/bin/ds9"
-#fi
-
# backup LD_LIBRARY_PATH settings
LD_LIBRARY_PATH_BAK="${LD_LIBRARY_PATH}"
@@ -87,7 +82,7 @@ function ciaoinit() {
heainit > /dev/null
fi
if [ "x${CIAO_STATE}" = "x" ]; then
- source $CIAO_PATH/bin/ciao.bash > /dev/null
+ source $CIAO_PATH/bin/ciao.bash
else
source $CIAO_PATH/bin/ciao.bash -o
fi