update `.profile`
parent
cefed27f7c
commit
d364d4141d
9
profile
9
profile
|
@ -80,11 +80,6 @@ export OPAMROOT=$XDG_DATA_HOME/opam
|
|||
# editor
|
||||
export EDITOR=vi
|
||||
|
||||
# ssh agent
|
||||
if [ -z "$SSH_AUTH_SOCK" ]; then
|
||||
eval $(ssh-agent)
|
||||
fi
|
||||
|
||||
# desktop
|
||||
if [ "$(tty)" = "/dev/tty1" ] && command -v sway &>/dev/null; then
|
||||
# locale
|
||||
|
@ -95,6 +90,8 @@ if [ "$(tty)" = "/dev/tty1" ] && command -v sway &>/dev/null; then
|
|||
export VISUAL=nvim
|
||||
export TERMINAL=footclient
|
||||
export BROWSER=firefox
|
||||
# ssh agent
|
||||
eval $(ssh-agent)
|
||||
# run sway
|
||||
exec sway
|
||||
exec systemd-cat -t sway sway
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue