mirror of
https://github.com/akelge/zsh
synced 2025-07-03 21:19:06 +00:00
Added gitid and better handling of lesspipe
This commit is contained in:
3
zsh.d/zshfunctions/gitid
Normal file
3
zsh.d/zshfunctions/gitid
Normal file
@ -0,0 +1,3 @@
|
||||
local _temp_gitid=$(git rev-parse HEAD|cut -c1-8)
|
||||
echo $_temp_gitid
|
||||
which pbcopy > /dev/null && echo $_temp_gitid|tr -d '\n'|pbcopy
|
Reference in New Issue
Block a user