9d16247dfe
- the great aliases extraction
104 lines
2.1 KiB
Plaintext
104 lines
2.1 KiB
Plaintext
# Example aliases
|
|
# alias zshconfig="mate $HOME/.zshrc"
|
|
# alias ohmyzsh="mate $HOME/.oh-my-zsh"
|
|
#
|
|
|
|
# Git
|
|
source "$HOME/.aliases/git.sh"
|
|
|
|
# Docker
|
|
alias lzd='lazydocker'
|
|
|
|
# PM : Jira & trello & asana & moro
|
|
source "$HOME/.aliases/backlog.sh"
|
|
|
|
# News
|
|
source "$HOME/.aliases/news.sh"
|
|
|
|
# Twitter
|
|
source "$HOME/.aliases/twitter.sh"
|
|
|
|
# RSS
|
|
source "$HOME/.aliases/rss.sh"
|
|
|
|
# Search
|
|
source "$HOME/.aliases/search.sh"
|
|
|
|
# Events
|
|
alias agenda='calendar'
|
|
alias mails="gmail && gmail2"
|
|
alias mailperso="gmail2"
|
|
alias mailpro="gmail"
|
|
|
|
# Management / Security / SSH / SSL
|
|
source "$HOME/.aliases/secure.sh"
|
|
|
|
# Network
|
|
source "$HOME/.aliases/network.sh"
|
|
|
|
# Downloads
|
|
alias get="curl -O -L" # Download file and save it with filename of remote file
|
|
|
|
# Files & folder tricks
|
|
source "$HOME/.aliases/files.sh"
|
|
|
|
# System Utils
|
|
alias systeminfo='neofetch'
|
|
alias monitoring='glances'
|
|
alias reload="exec ${SHELL} -l" # Reload the shell (i.e. invoke as a login shell)
|
|
alias sc="source $HOME/.zshrc"
|
|
|
|
# Infrastructure
|
|
alias awsls='awsls -profile default -region eu-west-1 --attributes tags aws_instance'
|
|
|
|
# Package management tricks
|
|
alias npmlist='npm list -g --depth 0'
|
|
alias pip='pip3'
|
|
|
|
# RTFM
|
|
alias learnmore="apropos . | sort --random-sort | awk 'NR == 1 {print$1}' | cut -d'(' -f 1 | xargs man"
|
|
alias help='tldr'
|
|
alias latency='curl cheat.sh/latency'
|
|
|
|
# Misc
|
|
source "$HOME/.aliases/misc.sh"
|
|
|
|
# Linters
|
|
alias checken="aspell check -d en"
|
|
alias checkfr="aspell check -d fr"
|
|
alias fixallscripts="shfmt -w -l -i 2 -ci **/*.sh"
|
|
|
|
# Development
|
|
alias gw='./gradlew'
|
|
|
|
# NSFW
|
|
alias irc='weechat'
|
|
|
|
# Terraform
|
|
source "$HOME/.aliases/terraform.sh"
|
|
source "$HOME/.aliases/terragrunt.sh"
|
|
|
|
# Fun
|
|
alias moon='curl "wttr.in/Moon?lang=fr"'
|
|
alias lune='moon'
|
|
alias unix='curl -L http://git.io/unix'
|
|
alias coffee="curl -L http://git.io/coffee"
|
|
alias hotcoffee="curl -sL git.io/hotcoffee | sh"
|
|
|
|
# Music
|
|
source "$HOME/.aliases/music.sh"
|
|
|
|
# K8S
|
|
alias k9s='COLORTERM=256bit k9s --all-namespaces'
|
|
alias 9=k9s
|
|
alias K=k9s
|
|
|
|
# Macos specifics
|
|
case "$(uname -s)" in
|
|
Darwin)
|
|
source "$HOME/.aliases/macos.sh"
|
|
;;
|
|
esac
|
|
|
|
# This is the end ;( ... for now ;D
|