Adding WIP bashrc
This commit is contained in:
parent
0a45f08e85
commit
9176820c1d
1 changed files with 34 additions and 0 deletions
34
bash/bashrc.wip
Normal file
34
bash/bashrc.wip
Normal file
|
@ -0,0 +1,34 @@
|
|||
# .bashrc
|
||||
|
||||
# Source global definitions
|
||||
if [ -f /etc/bashrc ]; then
|
||||
. /etc/bashrc
|
||||
fi
|
||||
|
||||
# Uncomment the following line if you don't like systemctl's auto-paging feature:
|
||||
# export SYSTEMD_PAGER=
|
||||
|
||||
# complete -cf sudo
|
||||
|
||||
######
|
||||
# Aliases
|
||||
###
|
||||
|
||||
|
||||
######
|
||||
# Functions
|
||||
###
|
||||
|
||||
#If redshift wasn't automatically started, this will do it
|
||||
function tint(){
|
||||
redshift -l 42.8864500:-78.8783700 -t 5000:4000 &
|
||||
}
|
||||
|
||||
#Wrapper function for livestreamer script
|
||||
function live(){
|
||||
case $1 in
|
||||
'twitch' ) livestreamer twitch.tv/$2 best & ;;
|
||||
'yt' | 'youtube' ) livestreamer $2 best & ;;
|
||||
* ) echo "Not an option, try again." ;;
|
||||
esac
|
||||
}
|
Loading…
Reference in a new issue