dotfiles/roles/zsh/files/config/configs/aliases.zsh
Oliver Davies dc79ebf5a7 feat(run): allow run files in notes directories
Move `run` from a simple alias to a function which checks a for a
`.notes/run` file first or defaults back to the previous functionality
and uses a file in the current directory.
2022-08-19 10:23:31 +01:00

12 lines
366 B
Bash

alias hosts='sudo vim /etc/hosts'
alias rebase='git fetch --all --prune --prune-tags && git rebase'
alias sshconfig='vim ~/.ssh/config'
alias vim='nvim'
# Allow for pasting lines of code that start with a dollar sign.
alias \$=''
# Re-implement pbcopy and pbpaste from macOS.
alias pbcopy="xclip -selection clipboard"
alias pbpaste="xclip -selection clipboard -o"