feat(custom-commands): add ccb to copy current branch, make ccd an alias
This commit is contained in:
@@ -123,9 +123,8 @@ function cmple() {
|
|||||||
./$result
|
./$result
|
||||||
}
|
}
|
||||||
|
|
||||||
function ccd() {
|
alias ccd="printf '%q' \"$(pwd)\" | pbcopy"
|
||||||
printf "%q" "$(pwd)" | pbcopy
|
alias ccb="printf '%q' \"$(git rev-parse --abbrev-ref HEAD)\" | pbcopy"
|
||||||
}
|
|
||||||
|
|
||||||
alias t="tmux"
|
alias t="tmux"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user