diff --git a/dotfiles-old/.aliases b/dotfiles-old/.aliases index 103a2f2..1b15e5c 100755 --- a/dotfiles-old/.aliases +++ b/dotfiles-old/.aliases @@ -34,7 +34,7 @@ alias audio="sudo mount -L 'AUDIO' /mnt/audio" # other volumes mnt() { sudo test -d /mnt/$1 || sudo mkdir /mnt/$1 - sudo mount /dev/$1 /mnt/$1 && sudo cd /mnt/$1 + sudo mount /dev/$1 /mnt/$1 && cd /mnt/$1 } # aliases for using a VGA monitor, i use these at home and at school @@ -50,6 +50,10 @@ alias bedoff="xrandr --output VGA1 --off" alias bedon="xrandr --output VGA1 --auto --right-of LVDS1" # project i'm working on -alias ytfeed="python $HOME/github/ytfeed.py/cli.py" +ytfeed() { + cd $HOME/src/ytfeed.py/ + source ./bin/activate + python ./cli.py +} -alias bmarks="firefox file:///home/trinity/bookmarks.html" \ No newline at end of file +alias bmarks="firefox file:///home/trinity/bookmarks.html" diff --git a/dotfiles-old/.profile b/dotfiles-old/.profile index d487c50..42dc9af 100644 --- a/dotfiles-old/.profile +++ b/dotfiles-old/.profile @@ -4,9 +4,9 @@ complete -c man which PS1="; " PS2=">; " PS3=">>; " -export PATH=$PATH":$HOME/bin" +export PATH=$PATH":$HOME/bin:$HOME/.local/bin" -source .aliases +source $HOME/.aliases # for ruby working eval "$(rbenv init -)"