2019-03-01 08:17:42 +00:00
|
|
|
# Example aliases
|
|
|
|
# alias zshconfig="mate ~/.zshrc"
|
|
|
|
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
|
|
|
#
|
|
|
|
|
|
|
|
# My custom aliases
|
|
|
|
alias gcls='git clone --depth 1 --recurse-submodules'
|
|
|
|
alias cm='chezmoi'
|
|
|
|
alias grep='rg'
|
|
|
|
alias npmlist='npm list -g --depth 0'
|
|
|
|
alias toollist="jira jql \"project = 'Internal Tooling'\""
|
|
|
|
alias backlogs="jira jql \"status = New AND project IN (CICD, TOOL) AND Created > -2w ORDER BY Priority DESC\""
|
|
|
|
alias backlog=toollist
|
2019-03-01 08:28:18 +00:00
|
|
|
alias jirasearch='issues'
|
|
|
|
alias agenda='calendar'
|
2019-03-01 09:45:50 +00:00
|
|
|
alias b='backlog'
|
2019-03-01 12:34:54 +00:00
|
|
|
alias mails="gmail && gmail2"
|
|
|
|
alias mybacklog="jira my-issues && asana"
|
2019-04-03 11:12:09 +00:00
|
|
|
alias bakclogs='backlogs'
|
|
|
|
alias bakclog='backlog'
|
2019-03-01 12:34:54 +00:00
|
|
|
alias mb='mybacklog'
|
|
|
|
alias myissues='mb'
|
|
|
|
alias me='mb'
|
|
|
|
alias hack='hacker'
|
2019-03-01 13:21:16 +00:00
|
|
|
alias done='task_done'
|
2019-03-01 13:23:21 +00:00
|
|
|
alias h='cd $HOME'
|
2019-03-01 21:17:53 +00:00
|
|
|
alias sshpub='cat ~/.ssh/id_rsa.pub'
|
2019-03-01 21:20:11 +00:00
|
|
|
alias diff='colordiff'
|
2019-03-01 21:43:03 +00:00
|
|
|
alias cp='cp -i' # confirmation before overwrite #
|
|
|
|
alias mv='mv -i' # confirmation before overwrite
|
|
|
|
alias df='df -H'
|
|
|
|
alias du='du -ch'
|
|
|
|
alias headers='curl -I --compress' # Find out if remote server supports gzip / mod_deflate or not #
|
|
|
|
alias hist='history'
|
|
|
|
alias path='echo -e ${PATH//:/\\n}' # Explode and display current PATH
|
|
|
|
alias ping='ping -c 5' # Stop after sending count ECHO_REQUEST packets
|
|
|
|
alias p='ps -ef | grep -i ' # Show matching processes. Usage : p <process name>
|
|
|
|
alias root='sudo -i'
|
|
|
|
alias s=ls
|
|
|
|
alias sl=ll
|
|
|
|
alias ssla="openssl x509 -alias -noout -in" # Usage : ssla <cert>
|
|
|
|
alias v=vi
|
2019-03-01 08:17:42 +00:00
|
|
|
|
2019-04-03 11:12:09 +00:00
|
|
|
|
2019-03-01 08:17:42 +00:00
|
|
|
# Show/hide hidden files in Finder
|
|
|
|
alias show="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder"
|
|
|
|
alias hide="defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder"
|
|
|
|
|
|
|
|
# Hide/show all desktop icons (useful when presenting)
|
|
|
|
alias hidedesktop="defaults write com.apple.finder CreateDesktop -bool false && killall Finder"
|
|
|
|
alias showdesktop="defaults write com.apple.finder CreateDesktop -bool true && killall Finder"
|
|
|
|
|
|
|
|
# Flush Directory Service cache
|
|
|
|
alias flush="dscacheutil -flushcache && killall -HUP mDNSResponder"
|