aliasrc (1502B)
1 #!/bin/sh 2 3 # Updating to neovim 4 command -v nvim >/dev/null && alias vim="nvim" vimdiff="nvim -d" 5 6 # Verbosity 7 alias 8 cp="cp -iv" 9 mv="mv -iv" 10 rm="rm -vI" 11 df="df -h" 12 free="free -m" 13 mkd="mkdir -pv" 14 more="less" 15 yt="youtube-dl --add-metadata -i" 16 yta="yt -x -f bestaudio/best" 17 ffmpeg="ffmpeg -hide_banner" 18 neofetch="neofetch --kernel_shorthand on --distro_shorthand off --gtk2 off --gtk3 off --gpu_type dedicated --shell_version off --os_arch off" 19 java="java -Djava.util.prefs.userRoot='$XDG_CONFIG_HOME/java'" 20 21 # Colorisations 22 alias 23 ls="ls -hN --color=auto --group-directories-first" 24 grep="grep --color=auto" 25 egrep="grep --color=auto" 26 fgrep="grep --color=auto" 27 diff="diff --color=auto" 28 ccat="highlight --out-format=ansi" 29 30 # Abbreviations 31 alias 32 sdn="sudo shutdown -h now" 33 v="$EDITOR" 34 p="sudo pacman" 35 igs="AppImageLauncher ~/Applications/GoPanda2_facfc1d6950379d12e52eff6bf2ad649.AppImage" 36 corona="curl https://corona-stats.online/" 37 coronauk="curl https://corona-stats.online/UK" 38 m="mount.sh" 39 u="fusermount -u ~/phone" 40 k="kill.sh" 41 e="emoji.sh" 42 ex="extract.sh" 43 bonsai="bonsai.sh" 44 clip="tr -d 'n' | xclip -selection clipboard" 45 bcl="bc -l <<<" 46 en="export LANG='en_GB.UTF-8'" 47 es="export LANG='es_MX.UTF-8'" 48 dunnet="emacs -batch -l dunnet" 49 scm="scheme --quiet <" 50 qapl="apl --noCIN -q -f"