Bashrc

From ZENotes
(Difference between revisions)
Jump to: navigation, search
(Created page with "# # ~/.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]\$ ' ...")
 
 
Line 1: Line 1:
#
 
# ~/.bashrc
 
#
 
 
 
As of Arch + i3wm, March 2016
 
As of Arch + i3wm, March 2016
 
+
 +
#
 +
# ~/.bashrc
 +
#
 +
 
 
  # If not running interactively, don't do anything
 
  # If not running interactively, don't do anything
 
  [[ $- != *i* ]] && return
 
  [[ $- != *i* ]] && return

Latest revision as of 10:26, 15 March 2016

As of Arch + i3wm, March 2016

#
# ~/.bashrc
#
 
# 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