Compare commits
No commits in common. "70dd1ee423bc47784c62395974a5125db094a50e" and "8f25c3c57bb8fcdf5e70d7aac93eb5a04d1ae0a5" have entirely different histories.
70dd1ee423
...
8f25c3c57b
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
exec 2>&1
|
exec 2&>1
|
||||||
exec /usr/bin/syncthing -logflags 0 -no-restart -home="$HOME/.config/syncthing"
|
exec /usr/bin/syncthing -logflags 0 -no-restart -home="$HOME/.config/syncthing"
|
||||||
|
|
|
@ -1,27 +1,28 @@
|
||||||
[ -n "$BASH_VERSION" ] && [ -f $HOME/.bashrc ] && . $HOME/.bashrc
|
: ${XDG_CACHE_HOME:=$HOME/.cache}
|
||||||
|
: ${XDG_CONFIG_HOME:=$HOME/.config}
|
||||||
|
: ${XDG_DATA_HOME:=$HOME/.data}
|
||||||
|
: ${XDG_RUNTIME_DIR:=/run/user/$(id -u)}
|
||||||
|
export XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR
|
||||||
|
|
||||||
export XDG_CACHE_HOME=$HOME/.cache
|
# : ${DBUS_SESSION_BUS_ADDRESS:=$XDG_RUNTIME_DIR/bus}
|
||||||
export XDG_CONFIG_HOME=$HOME/.config
|
# export DBUS_SESSION_BUS_ADDRESS
|
||||||
export XDG_DATA_HOME=$HOME/.data
|
|
||||||
|
|
||||||
export BROWSER=firefox
|
: ${BROWSER:=firefox}
|
||||||
export EDITOR=vim
|
: ${EDITOR:=vim}
|
||||||
export PAGER=less
|
: ${PAGER:=less}
|
||||||
export VISUAL=vim
|
: ${VISUAL:=vim}
|
||||||
|
export BROWSER EDITOR PAGER VISUAL
|
||||||
|
|
||||||
for x in \
|
for x in \
|
||||||
|
"/usr/bin" \
|
||||||
|
"/usr/local/bin" \
|
||||||
"$HOME/bin" \
|
"$HOME/bin" \
|
||||||
"$HOME/.local/bin" \
|
"$HOME/.local/bin" \
|
||||||
"/usr/local/sbin" \
|
|
||||||
"/usr/local/bin" \
|
|
||||||
"/usr/sbin" \
|
|
||||||
"/usr/bin" \
|
|
||||||
"/sbin" \
|
|
||||||
"/bin" \
|
|
||||||
; do
|
; do
|
||||||
[ -d "$x" ] || continue
|
[ -d "$x" ] || continue
|
||||||
case ":${PATH}:" in
|
case ":${PATH}:" in
|
||||||
*":${x}:"*) ;;
|
*":${x}:"*) ;;
|
||||||
*) PATH="${PATH:+$PATH:}${x}" ;;
|
*) PATH="${PATH+${PATH}:}${x}" ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue