diff --git a/dots/aliases b/dots/aliases index 5c155fc..efbcbb9 100644 --- a/dots/aliases +++ b/dots/aliases @@ -34,3 +34,11 @@ cdls(){ alias rp="killall plank && nohup plank &" alias rck="killall conky && nohup conky &" alias rsw="nmcli radio wifi off && nmcli radio wifi on" + +gitwho(){ +if [ -d .git ]; then + echo $(git config user.name); +else + git rev-parse --git-dir 2> /dev/null; +fi; +} \ No newline at end of file