configs/dot.profile

56 lines
1.4 KiB
Text
Raw Normal View History

2016-02-26 02:26:43 +01:00
source /etc/profile
2017-01-12 17:45:28 +01:00
export EDITOR=kak
export GOPATH=$HOME/src/go
2019-09-03 19:47:27 +02:00
export CARGO_HOME=$HOME/.cargo
2021-01-11 23:21:24 +01:00
export PATH=$HOME/.local/bin:$HOME/.yarn/bin:$HOME/.local/share/npm-global/bin:$GOPATH/bin:$CARGO_HOME/bin:$HOME/.gem/ruby/2.7.0/bin:$PATH
2016-02-26 02:26:43 +01:00
export MANPATH=$HOME/.local/share/man:/usr/share/man:/usr/local/share/man
2020-08-11 21:04:08 +02:00
export _JAVA_AWT_WM_NONREPARENTING=1
2017-01-12 17:45:28 +01:00
export FREETYPE_PROPERTIES="truetype:interpreter-version=35 cff:darkening-parameters=500,300,1000,200,1500,100,2000,0 autofitter:warping=1"
export INFINALITY_FT_FILTER_PARAMS='10 35 40 35 10'
2016-02-26 02:26:43 +01:00
2019-11-06 01:08:29 +01:00
export LD_LIBRARY_PATH=$HOME/.local/lib:$HOME/.local/lib/haxe:/lib
2019-09-03 19:47:27 +02:00
2016-02-26 02:26:43 +01:00
alias xi="sudo xbps-install"
alias xq="xbps-query -Rs"
alias xqi="xbps-query -RS"
2016-05-19 21:56:21 +02:00
alias xql="xbps-query -s"
2017-01-12 22:57:02 +01:00
alias xqf="xbps-query -f"
2018-07-19 21:54:06 +02:00
alias xqo="xbps-query -o"
alias xqre="xbps-query -R --regex -s"
2017-01-12 17:45:28 +01:00
alias howto="howdoi -c"
2019-09-03 19:47:27 +02:00
alias icat="kitty +kitten icat"
2020-08-11 21:04:08 +02:00
alias wttr="curl wttr.in"
2021-01-11 23:21:24 +01:00
alias df="duf"
alias md="glow -p"
alias ls="lsd"
alias l="lsd -lha"
alias ll="lsd -lh"
alias lt="lsd --tree"
# twtxt
alias ttt="txtnish tweet"
alias ttl="txtnish timeline"
alias ttf="txtnish follow"
alias ttu="txtnish unfollow"
alias ttr="txtnish reply"
2019-09-03 19:47:27 +02:00
short_url () {
curl -F "shorten=$1" https://0x0.st
}
share_file () {
curl -F "file=@$1" https://0x0.st
}
2016-02-26 02:26:43 +01:00
2019-09-03 19:47:27 +02:00
if [[ "$TTY" == "/dev/tty"* ]]
then
2020-07-24 16:59:39 +02:00
setfont drdos8x14
2019-09-03 19:47:27 +02:00
fi
2019-10-26 16:41:17 +02:00
if [ "$TTY" = /dev/tty1 -a $USER != root -a ! -e /tmp/.X0-lock ]
then
2020-07-24 16:59:39 +02:00
startx && clear && exit
2019-10-26 16:41:17 +02:00
fi