diff options
Diffstat (limited to '01_Functions.zsh')
-rw-r--r-- | 01_Functions.zsh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/01_Functions.zsh b/01_Functions.zsh index 33a0b4e..90764fb 100644 --- a/01_Functions.zsh +++ b/01_Functions.zsh @@ -214,6 +214,12 @@ get_git_status () echo $my_git_status } +zsh_status () +{ + cd ~/.zsh + echo "$(git describe --dirty="$(git diff | md5sum | sed 's/^\(.......\).*$/-D1rTY-\1/')" --always)" +} + normal_user () { if [ -e /etc/login.defs ] |