Update bash config
parent
24746a6e13
commit
bb725bacff
2
.aliasrc
2
.aliasrc
|
@ -14,7 +14,7 @@ alias vi='vim'
|
||||||
alias py='python'
|
alias py='python'
|
||||||
alias cfg='/usr/bin/git --git-dir=/home/h/.cfg/ --work-tree=/home/h'
|
alias cfg='/usr/bin/git --git-dir=/home/h/.cfg/ --work-tree=/home/h'
|
||||||
alias now='date "+%I:%M %a %d %b"'
|
alias now='date "+%I:%M %a %d %b"'
|
||||||
alias brt='xbacklight -set'
|
alias lm='xbacklight -set'
|
||||||
alias bat='cat /sys/class/power_supply/BAT0/capacity'
|
alias bat='cat /sys/class/power_supply/BAT0/capacity'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
#
|
|
||||||
# ~/.bash_profile
|
|
||||||
#
|
|
||||||
|
|
||||||
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||||||
|
|
||||||
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
|
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
|
||||||
exec startx
|
exec startx
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
export PATH=$PATH:~/.bin
|
||||||
|
|
Loading…
Reference in New Issue