1
0

Commented

This commit is contained in:
devenblake 2020-10-17 23:50:05 -04:00
parent 69586cbc0d
commit 94a83dd566

View File

@ -4,15 +4,28 @@ PS2=">> "
PS3=">>> "
export PATH=$PATH":$HOME/bin"
# aliases for using my Commodore monitor with my computer
alias 1702off="xrandr --output HDMI1 --off"
alias 1702on="xrandr --output HDMI1 --auto --mode 720x480 --right-of LVDS1"
# requires bat
alias cat="bat --theme=ansi-light"
alias cls="clear"
# useful aliases
alias iftoggle="sudo ip link set"
alias ifswitch="iftoggle $1 down && iftoggle $1 up"
alias imount="idevicepair pair && sudo ifuse -o allow_other /mnt/iphone/"
# i always forget this one but it's useful
alias p="ping 1.1.1.1"
# my media hard drive
alias partone="sudo mount -L 'PARTONE' /mnt/partone"
# aliases for using a VGA monitor, i use these at home and at school
vgaoff() {
xsetwacom set "Wacom Intuos2 6x8 Pen stylus" MapToOutput LVDS1
xrandr --output VGA1 --off
@ -21,5 +34,9 @@ vgaon() {
xrandr --output VGA1 --auto --left-of LVDS1
xsetwacom set "Wacom Intuos2 6x8 Pen stylus" MapToOutput VGA1
}
# project i'm working on
alias ytfeed="cd $HOME/github/ytfeed.py && ./cli.py"
# for ruby working
eval "$(rbenv init -)"