diff options
| author | mitsuo <[email protected]> | 2020-03-30 04:55:36 -0500 |
|---|---|---|
| committer | mitsuo <[email protected]> | 2020-03-30 04:55:36 -0500 |
| commit | c7853855102bc88cb19bcb8cbad02887de0635b1 (patch) | |
| tree | 3f230d983f74bebcd9c854a39e87269b1c6aca00 /bash_aliases | |
| parent | e24c24ef981a70b5d26afbf1b2c024cdbe693e73 (diff) | |
| download | dotfiles-c7853855102bc88cb19bcb8cbad02887de0635b1.tar.gz dotfiles-c7853855102bc88cb19bcb8cbad02887de0635b1.tar.bz2 dotfiles-c7853855102bc88cb19bcb8cbad02887de0635b1.zip | |
names, XGD and install script
Diffstat (limited to 'bash_aliases')
| -rw-r--r-- | bash_aliases | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/bash_aliases b/bash_aliases new file mode 100644 index 0000000..8d75f2b --- /dev/null +++ b/bash_aliases @@ -0,0 +1,53 @@ +# Shortcuts +# ====================================================================== +alias aliases='vim ~/.bash_aliases && source ~/.bash_aliases' +alias evrc='vim ~/.config/vim/vimrc' +alias ebrc='vim ~/.bashrc && source ~/.bashrc' + + +# Common program's options +# ====================================================================== + +# coretools +alias diff2='diff --color=always -y' +alias dir='dir --color=auto' +alias grep='grep --color=auto -i' # color case-insensitive +alias la='ls -A' +alias ll='ls -l -h' +alias lla='ll -A' +alias ls='ls --color=auto' +#alias less='less -Ri' # make less's searches case insensitive and + # colorized +LESS=Ri # TODO move to an appropiate place + +# Other program's options +# ====================================================================== +alias feh='feh -g 640x480 -S filename' +alias units='units --verbose' + + +# Precautionary +# ====================================================================== +alias rm='rm -I' # Promt before removing more than 3 files +alias mv='mv -i' # Promt before overwrite +alias cp='cp -i' # same + + +# Quick tools +# ====================================================================== +alias pdfreduce='gs -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook' +alias weather="curl wttr.in/Austin?mF" +alias weatherhelp="curl wttr.in/:help" +alias youtube-dl_info='youtube-dl --get-filename --get-format --get-duration --get-description' +alias youtube-dl_fast='youtube-dl --format "best[height<=720]" -o '\''%(title)s.%(ext)s'\' + + +# Cosmetic +# ====================================================================== +alias :q='cowsay -d "this isn'\''t Vim"' # To scape single quotes in single + # quoted string first finish opened + # string and add the scaped quote + # (\'). +alias :w="cowsay -b \"this isn't Vim\"" +alias miola='cowsay -e ^^ "te extraño, mi galletita"' +alias miola2='cowsay -e ^^ "🌊Nandita 💃 bonita 🌊"' |
