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
|
||||
}
|
||||
|
||||
function ccd() {
|
||||
printf "%q" "$(pwd)" | pbcopy
|
||||
}
|
||||
alias ccd="printf '%q' \"$(pwd)\" | pbcopy"
|
||||
alias ccb="printf '%q' \"$(git rev-parse --abbrev-ref HEAD)\" | pbcopy"
|
||||
|
||||
alias t="tmux"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user