-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3cf9e9d
commit 8626d24
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# alias ~='cd ~' | ||
# alias -='cd -' | ||
alias ..='cd ..' | ||
alias ...='cd ../..' | ||
alias ....='cd ../../..' | ||
alias .....='cd ../../../..' | ||
alias ......='cd ../../../../..' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Aliases for scripts in ~/bin | ||
# ---------------------------- | ||
alias cb="simple_clipboard" | ||
# Copy contents of a file | ||
alias cbf="simple_clipboard <" | ||
# Copy SSH public key | ||
alias cbs="echo 'Copying ~/.ssh/id_rsa.pub to clipboard...' && simple_clipboard < ~/.ssh/id_rsa.pub" | ||
# Copy current working directory | ||
alias cbd="pwd | simple_clipboard" | ||
# Copy current git SHA-1 | ||
alias cbg="echo 'Copying latest commit hash to clipboard...' && git rev-parse --verify HEAD | simple_clipboard" |