.dotfiles/zsh/aliases.zsh

25 lines
741 B
Bash
Raw Normal View History

alias s="ssh"
alias z="exec zsh"
alias t="tmux a || tmux new-session -s janezicmatej -c ~"
2023-05-30 23:49:02 +02:00
alias n=nvim_ve
# alias vim=nvim_ve
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'