[emacs] add naming conventions
[~bandali/configs] / zsh / .zshrc
index 75126ac..5d00ab0 100644 (file)
@@ -2,9 +2,10 @@
 #export WORDCHARS='*?_-.[]~=&;!#$%^(){}<>'
 #export WORDCHARS='*?-[]~=&;!#$%^(){}<>'
 export WORDCHARS='*?[]~=&;!#$%^(){}<>'
+#ZLE_SPACE_SUFFIX_CHARS=$'|&'
 
-disable -r time       # disable shell reserved word
-alias time='time -p'  # -p for POSIX output
+#disable -r time       # disable shell reserved word
+#alias time='time -p'  # -p for POSIX output
 
 # rehash if last command was pacaur or pacman
 # (so that zsh picks up changes in $PATH immediately)
@@ -57,6 +58,14 @@ alias scl=systemctl
 alias jcl=journalctl
 alias m="mbsync -Va; getmail; notmuch new"
 alias best="youtube-dl -f best"
+alias ace="mosh amin@ace.aminb.org"
+alias nix="ssh amin@aminb.org"
+
+aur() {
+   cd ~/usr/build
+   git clone https://aur.archlinux.org/${1}.git
+   cd ${1}
+}
 
 # i-beam cursor
 echo -e "\033[5 q"