summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2013-05-18 23:21:13 +0100
committerAlan Pearce2013-05-18 23:21:13 +0100
commit29f84991f8dadd33ef61b4a902db5620f76b81e3 (patch)
tree3d5beb94083cad1fa11fc707faac5d03604d613c
parent0e2e827dd3103c3cd354048de1475f79b5ea5335 (diff)
downloadnixfiles-29f84991f8dadd33ef61b4a902db5620f76b81e3.tar.lz
nixfiles-29f84991f8dadd33ef61b4a902db5620f76b81e3.tar.zst
nixfiles-29f84991f8dadd33ef61b4a902db5620f76b81e3.zip
zsh: move smart_sudo alias from s to su to allow fasd to use s
-rwxr-xr-xzsh/zshrc3
1 files changed, 1 insertions, 2 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index 9437fcc8..938dcbd9 100755
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -269,6 +269,7 @@ alias lsr="ls -tld *(m-2)" # mtime < -2days
 alias trans="transmission-remote transmission.home"
 alias bitcoin="bitcoind"
 alias namecoin="~alan/applications/namecoin/src/namecoind"
+alias su="smart_sudo "
 alias e="$EDITOR"
 alias E="SUDO_EDITOR=\emacsclient -c -a emacs\" sudoedit"
 alias aticonfig="DISPLAY=:0 \aticonfig"
@@ -344,5 +345,3 @@ _FASD_DATA="$HOME/.zsh/fasd-data"
 autoload -U fasd
 source ~/.zsh/cache/fasd-init-zsh
 alias e="f -e $EDITOR"
-
-alias s="smart_sudo "