Update bash aliases

master
Hektor Misplon 2022-05-11 00:43:33 +02:00
parent 8d91701fd0
commit 7a50e8911e
1 changed files with 18 additions and 20 deletions

View File

@ -18,12 +18,12 @@ alias ip="ip --color"
# Listing # Listing
alias l="ls -1" alias l="ls -1p"
alias ll="ls -lh" alias ll="ls -lhp"
alias lt="ls -lht" alias lt="ls -lhtp"
alias la="ls -lha" alias la="ls -lhap"
alias lta="ls -lhat" alias lta="ls -lhatp"
alias ld="ls -d */" # list directories alias ld="ls -dp" # list directories
# Safety # Safety
@ -38,31 +38,29 @@ alias chgrp="chgrp --preserve-root"
# Clipboard # Clipboard
alias clip='xclip -sel clip' alias clip="xclip -sel clip"
alias srclip='clip -o | speedread -w 500' alias srclip="clip -o | speedread -w 500"
# Other # Other
alias df='df -kTh' alias cfg="/usr/bin/git --git-dir=/home/h/.cfg/ --work-tree=/home/h"
alias path='echo -e ${PATH//:/\\n}' # Pretty print path variables alias df="df -kTh"
alias cfg='/usr/bin/git --git-dir=/home/h/.cfg/ --work-tree=/home/h'
alias fzfpac="pacman -Slq | fzf -m --preview 'pacman -Si {1}' | xargs -ro sudo pacman -S" alias fzfpac="pacman -Slq | fzf -m --preview 'pacman -Si {1}' | xargs -ro sudo pacman -S"
alias zzz='systemctl suspend && exit' alias o="xdg-open"
alias o='xdg-open' alias path="echo -e ${PATH//:/\\n}" # Pretty print path variables
alias now='date +"%T"' alias wiki="vim +WikiIndex"
alias week='date +%V'
alias wiki='vim +WikiIndex'
# Programs # Programs
alias feh="feh -B black --scale-down --auto-zoom"
alias fm='pcmanfm'
alias g='git' alias g='git'
alias lm='xbacklight -set' alias lm='xbacklight -set'
alias vi='vim'
alias py='python' alias py='python'
alias r5rs-repl='plt-r5rs --no-prim' alias r5rs-repl='plt-r5rs --no-prim'
alias feh="feh -B black --scale-down --auto-zoom" alias vi='vim'
alias xopp="xournalpp $1 &>/dev/null"
alias tlmgr='/usr/share/texmf-dist/scripts/texlive/tlmgr.pl --usermode' alias xev='xev | grep -A2 ButtonPress' # Ignore mouse movements
reboot_to_windows () reboot_to_windows ()
{ {