diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-03-29 11:39:50 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-03-29 11:39:50 +0200 |
commit | 28f05852b2beb04c78f713caedac6063aaeb956c (patch) | |
tree | c6de70b521eb66870ea54ae97cfa5b3594a7a35a /etc | |
parent | f08a9b032caf23e9e40a5a8efd52eea2140aaaeb (diff) |
Added sbin to path
Diffstat (limited to 'etc')
-rw-r--r-- | etc/aliases/default | 7 | ||||
-rw-r--r-- | etc/parameters | 4 |
2 files changed, 4 insertions, 7 deletions
diff --git a/etc/aliases/default b/etc/aliases/default index 994d8ad..cb5bccf 100644 --- a/etc/aliases/default +++ b/etc/aliases/default @@ -26,9 +26,6 @@ linux: alias ls='ls -Fh --color=auto' || ## networking -# I often use it for just *viewing* things, which works fine without root -alias ifconfig='/sbin/ifconfig' - # With these settings, mx and host do basically the same, but whatever alias host='host -a' alias mx='mx -aZ' @@ -38,7 +35,6 @@ linux: salias netstat='netstat --program --all --tcp --extend' || salias netstat='netstat -atp tcp' -alias modinfo='/sbin/modinfo' # less frequent updates when running ncdu via ssh [[ -n $SSH_CONNECTION ]] && check_com -c ncdu && alias ncdu='ncdu -q' @@ -68,6 +64,3 @@ alias tilp='gksudo "tilp --calc=ti84+ --cable=DirectLink"' # Don't collapse trees alias todo='noglob todo -f +children' - -# smooth scrolling -alias xload='xload -jumpscroll 1' diff --git a/etc/parameters b/etc/parameters index 87979d9..0c7bd00 100644 --- a/etc/parameters +++ b/etc/parameters @@ -28,6 +28,10 @@ TIMEFMT='%J (%P) - %*E real, %*U user, %*S system' # completion cache for compinit compdump=$ZCACHEDIR/compdump +if ((EUID)) { + path+=(/sbin /usr/sbin /usr/local/sbin) +} + export MAKEFLAGS=j$(grep -c '^processor' /proc/cpuinfo) # Add my own executables, if they're not already in the path |