2019-03-01 08:17:42 +00:00
|
|
|
# Example aliases
|
2020-07-13 05:40:45 +00:00
|
|
|
# alias zshconfig="mate $HOME/.zshrc"
|
|
|
|
# alias ohmyzsh="mate $HOME/.oh-my-zsh"
|
2019-03-01 08:17:42 +00:00
|
|
|
#
|
|
|
|
|
2020-07-13 05:40:45 +00:00
|
|
|
# Git
|
|
|
|
source "$HOME/.aliases/git.sh"
|
2019-07-18 09:55:54 +00:00
|
|
|
|
2020-06-30 12:44:23 +00:00
|
|
|
# Docker
|
|
|
|
alias lzd='lazydocker'
|
|
|
|
|
2020-07-03 06:13:15 +00:00
|
|
|
# PM : Jira & trello & asana & moro
|
2020-07-13 05:40:45 +00:00
|
|
|
source "$HOME/.aliases/backlog.sh"
|
2019-07-18 09:55:54 +00:00
|
|
|
|
|
|
|
# News
|
2020-07-13 05:40:45 +00:00
|
|
|
source "$HOME/.aliases/news.sh"
|
2019-07-18 09:55:54 +00:00
|
|
|
|
2019-08-09 02:36:12 +00:00
|
|
|
# Twitter
|
2020-07-13 05:40:45 +00:00
|
|
|
source "$HOME/.aliases/twitter.sh"
|
2019-08-09 02:36:12 +00:00
|
|
|
|
2020-06-30 12:22:03 +00:00
|
|
|
# RSS
|
2020-07-13 05:40:45 +00:00
|
|
|
source "$HOME/.aliases/rss.sh"
|
2020-06-30 12:22:03 +00:00
|
|
|
|
2019-08-15 08:03:27 +00:00
|
|
|
# Search
|
2020-07-13 05:40:45 +00:00
|
|
|
source "$HOME/.aliases/search.sh"
|
2020-07-03 04:22:30 +00:00
|
|
|
|
2019-07-18 09:55:54 +00:00
|
|
|
# Events
|
|
|
|
alias agenda='calendar'
|
|
|
|
alias mails="gmail && gmail2"
|
|
|
|
alias mailperso="gmail2"
|
|
|
|
alias mailpro="gmail"
|
|
|
|
|
|
|
|
# Management / Security / SSH / SSL
|
2020-07-13 05:40:45 +00:00
|
|
|
source "$HOME/.aliases/secure.sh"
|
2020-06-24 07:51:04 +00:00
|
|
|
|
2019-08-16 14:41:13 +00:00
|
|
|
# Network
|
2020-07-13 05:40:45 +00:00
|
|
|
source "$HOME/.aliases/network.sh"
|
2020-07-03 04:22:30 +00:00
|
|
|
|
|
|
|
# Downloads
|
|
|
|
alias get="curl -O -L" # Download file and save it with filename of remote file
|
2019-08-16 14:41:13 +00:00
|
|
|
|
2020-06-30 12:44:23 +00:00
|
|
|
# Files & folder tricks
|
2020-07-13 05:40:45 +00:00
|
|
|
source "$HOME/.aliases/files.sh"
|
2020-06-30 12:44:23 +00:00
|
|
|
|
2020-07-03 05:12:40 +00:00
|
|
|
# System Utils
|
2020-06-30 12:44:23 +00:00
|
|
|
alias systeminfo='neofetch'
|
|
|
|
alias monitoring='glances'
|
2020-07-13 05:40:45 +00:00
|
|
|
alias reload="exec ${SHELL} -l" # Reload the shell (i.e. invoke as a login shell)
|
2020-07-03 04:22:30 +00:00
|
|
|
alias sc="source $HOME/.zshrc"
|
2020-07-02 18:59:21 +00:00
|
|
|
|
2020-07-02 13:50:30 +00:00
|
|
|
# Infrastructure
|
|
|
|
alias awsls='awsls -profile default -region eu-west-1 --attributes tags aws_instance'
|
|
|
|
|
2020-06-30 12:44:23 +00:00
|
|
|
# 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
|
2020-07-13 05:40:45 +00:00
|
|
|
source "$HOME/.aliases/misc.sh"
|
2020-06-30 12:44:23 +00:00
|
|
|
|
|
|
|
# Linters
|
2020-02-08 10:23:45 +00:00
|
|
|
alias checken="aspell check -d en"
|
|
|
|
alias checkfr="aspell check -d fr"
|
2020-07-12 14:19:25 +00:00
|
|
|
alias fixallscripts="shfmt -w -l -i 2 -ci **/*.sh"
|
2020-06-30 12:44:23 +00:00
|
|
|
|
|
|
|
# Development
|
2020-02-08 10:23:45 +00:00
|
|
|
alias gw='./gradlew'
|
2020-06-30 12:44:23 +00:00
|
|
|
|
|
|
|
# NSFW
|
|
|
|
alias irc='weechat'
|
|
|
|
|
|
|
|
# Terraform
|
2020-07-13 05:40:45 +00:00
|
|
|
source "$HOME/.aliases/terraform.sh"
|
|
|
|
source "$HOME/.aliases/terragrunt.sh"
|
2019-06-18 08:57:44 +00:00
|
|
|
|
2020-06-30 12:44:23 +00:00
|
|
|
# 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"
|
|
|
|
|
2020-06-21 10:55:38 +00:00
|
|
|
# Music
|
2020-07-13 05:40:45 +00:00
|
|
|
source "$HOME/.aliases/music.sh"
|
2020-06-21 10:55:38 +00:00
|
|
|
|
2020-06-21 10:38:50 +00:00
|
|
|
# K8S
|
|
|
|
alias k9s='COLORTERM=256bit k9s --all-namespaces'
|
|
|
|
alias 9=k9s
|
|
|
|
alias K=k9s
|
|
|
|
|
2020-07-13 05:40:45 +00:00
|
|
|
# Macos specifics
|
|
|
|
case "$(uname -s)" in
|
|
|
|
Darwin)
|
|
|
|
source "$HOME/.aliases/macos.sh"
|
|
|
|
;;
|
|
|
|
esac
|
2019-06-18 08:47:12 +00:00
|
|
|
|
2019-07-18 09:55:54 +00:00
|
|
|
# This is the end ;( ... for now ;D
|