From: Amin Bandali Date: Tue, 26 Dec 2017 00:55:45 +0000 (-0500) Subject: zsh: use built-in `time`, and enable (uncomment) nix X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/af0337b09f4ff2d7f4d2ad4c376b85efb4dd1a13?ds=inline zsh: use built-in `time`, and enable (uncomment) nix --- diff --git a/zsh/.zprofile b/zsh/.zprofile index a5786c3..e1a2700 100644 --- a/zsh/.zprofile +++ b/zsh/.zprofile @@ -22,4 +22,4 @@ export PVS_LIBRARY_PATH="$HOME/usr/build/pvs/nasalib" export MOZ_USE_XINPUT2=1 - #if [ -e /home/amin/.nix-profile/etc/profile.d/nix.sh ]; then . /home/amin/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer +if [ -e /home/amin/.nix-profile/etc/profile.d/nix.sh ]; then . /home/amin/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer diff --git a/zsh/.zshrc b/zsh/.zshrc index 75126ac..d01339f 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -3,8 +3,8 @@ #export WORDCHARS='*?-[]~=&;!#$%^(){}<>' export WORDCHARS='*?[]~=&;!#$%^(){}<>' -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)