Bashrc

From ZENotes
Revision as of 10:25, 15 March 2016 by Admin (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  1. ~/.bashrc

As of Arch + i3wm, March 2016

# If not running interactively, don't do anything
 $- != *i*  && return

alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '

export VISUAL="nano" 

# My aliases
alias pacmann='sudo pacman --needed'
alias pacmu='sudo pacman -Syu'
alias halt='sudo halt'
alias mount='sudo mount'
alias umount='sudo umount'
alias reboot='sudo reboot'
alias tee='sudo tee'
alias nasmount='sudo mount 192.168.4.250:/Multimedia ./naspas'

alias natscroll='xinput set-button-map 12 1 2 3 5 4 6 7 8 9 10 11 12' 

alias xvgaon='xrandr --output VGA1 --auto --right-of LVDS1'
alias xvgaoff='xrandr --output VGA1 --auto --off'
alias xhdmion='xrandr --output HDMI1 --auto --right-of LVDS1'
alias xhdmioff='xrandr --output HDMI1 --auto --off'

alias iotop='sudo iotop -o'
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox