.dotfiles/zsh/aliases.zsh

25 lines
743 B
Bash
Raw Permalink Normal View History

alias z="exec zsh"
2024-01-25 20:00:13 +01:00
alias t="tmux a || tmux new-session -s $(whoami) -c ~"
2023-05-30 23:49:02 +02:00
alias n=nvim_ve
# alias vim=nvim_ve
2024-02-19 15:54:50 +01:00
alias s="ssh-menu"
2023-05-30 23:49:02 +02:00
# navigation
alias cdgit="cd $GGROOT"
alias icloud="cd $HOME/Library/Mobile\ Documents/com\~apple\~CloudDocs"
alias temp="cd $HOME/Desktop/temp"
# apple specific
alias accenton="defaults write -g ApplePressAndHoldEnabled -bool true"
alias accentoff="defaults write -g ApplePressAndHoldEnabled -bool false"
# git
2023-05-30 23:49:02 +02:00
alias gros="git reset origin/$(git_current_branch) --soft"
alias gcan="git commit -v --amend --no-edit"
2023-05-30 23:49:02 +02:00
# unsorted
alias ci="glab ci list"
alias bm=batman
alias grow="~/.local/bin/cbonsai -liWC -M 15 -t 2 -w 60 -s $(date +%s)"
alias clean_ds_store='find . -name ".DS_Store" -type f -delete -print'