96 lines
2.4 KiB
Bash
96 lines
2.4 KiB
Bash
|
|
DISTRO=$(lsb_release -si)
|
|
|
|
if [[ $DISTRO = 'Debian' ]]; then
|
|
|
|
alias archey='screenfetch'
|
|
|
|
fi
|
|
|
|
# Fun / Games
|
|
alias aquarium='asciiquarium'
|
|
alias sudoku='nsudoku'
|
|
alias tetris='bastet'
|
|
alias mario='mupen64plus --windowed ~/ROMs/N64/SuperMario64.v64'
|
|
alias kart='mupen64plus --windowed ~/ROMs/N64/MarioKart64.v64'
|
|
alias zelda='mupen64plus --windowed ~/ROMs/N64/Zelda64.rom'
|
|
alias zeldamajora='mupen64plus --windowed ~/ROMs/N64/ZeldaMajorasMask.z'
|
|
alias ps2='pcsx2'
|
|
|
|
#System
|
|
alias shutdown='sudo shutdown -P now'
|
|
alias Stat='uname -a;systemd-analyze time;wc -l /lib/modules/$(uname -r)/modules.order; lsinitcpio -a /boot/initramfs-linux.img'
|
|
|
|
## Packages
|
|
alias rarx='unrar x'
|
|
alias zipx='unzip x'
|
|
alias gzx='tar -xzvf'
|
|
alias xzx='tar -xJvf'
|
|
alias bzx='tar -xvjf'
|
|
|
|
# Pacman
|
|
alias P='pacaur'
|
|
alias PY='pacaur -Syy'
|
|
alias PU='pacaur -Syu'
|
|
alias PAY='sudo pacman -Syy'
|
|
alias PAU='sudo pacman -Syu'
|
|
|
|
# Default to human readable figures
|
|
alias df='df -h'
|
|
alias du='du -h'
|
|
|
|
# Interactive operation...
|
|
# alias rm='rm -i'
|
|
# alias cp='cp -i'
|
|
# alias mv='mv -i'
|
|
|
|
# Misc :)
|
|
alias less='less -r' # raw control characters
|
|
alias grep='grep --color' # show differences in colour
|
|
alias egrep='egrep --color=auto' # show differences in colour
|
|
alias fgrep='fgrep --color=auto' # show differences in colour
|
|
alias nemo='nemo --no-desktop'
|
|
|
|
# Some shortcuts for different directory listings
|
|
alias ls='ls -hF --color=auto' # classify files in colour
|
|
alias dir='ls --color=auto --format=vertical'
|
|
alias vdir='ls --color=auto --format=long'
|
|
alias ll='ls -l' # long list
|
|
alias la='ls -A' # all but . and ..
|
|
alias l='ls -CF'
|
|
alias ..='cd ..'
|
|
alias ...='cd ...'
|
|
alias ....='cd ....'
|
|
alias .....='cd .....'
|
|
alias k='exit'
|
|
alias D='cd ~/Downloads'
|
|
|
|
|
|
## Vim Stuff
|
|
alias eV='vim ~/.vimrc'
|
|
alias e='vim'
|
|
|
|
## YouTube
|
|
alias yt='cd ~/Downloads/YouTube'
|
|
alias cleanYT='rm ~/Downloads/YouTube/*.*'
|
|
alias DL='cd ~/Downloads/YouTube && youtube-dl -ic'
|
|
|
|
#Bash Stuff
|
|
alias eB='vim ~/.bashrc'
|
|
alias eBG='leafpad ~/.bashrc'
|
|
alias B='source ~/.bashrc'
|
|
|
|
## News and Music
|
|
alias news='newsbeuter'
|
|
alias nix='cortex linux'
|
|
alias pods='podbeuter'
|
|
alias twit='turses'
|
|
alias Pods='cd ~/Music/Podcasts && ranger'
|
|
|
|
## Net
|
|
alias irc='weechat-curses'
|
|
alias hogs='sudo nethogs enp2s0'
|
|
alias ST='speedtest-cli'
|
|
alias ssh='TERM=xterm ssh'
|
|
|