X-Git-Url: http://105106.c2e0p.group/dotfiles.git/blobdiff_plain/f8531f5dddb42827b6935c3a70561c9216e07e46..98aab03bace961139f1be01c3ce8a30298f87d3a:/zsh_aliases diff --git a/zsh_aliases b/zsh_aliases index 4338eef..05e1a10 100644 --- a/zsh_aliases +++ b/zsh_aliases @@ -22,6 +22,7 @@ alias p='ps -au' alias tf='tail -25f' alias l='ls -lF' alias la='ls -laF' +alias less='less -R' alias clr='clear' alias cls='clear' alias d='date' @@ -85,3 +86,5 @@ function canonicalize() { echo $(cd $relpath; pwd -P)/$(basename $1) return 0 } + +function sayStatus () { local _status=$?; if [[ $_status -eq 0 ]]; then say "Success"; else say "Failed"; fi; return $_status }