diff --git a/profile.d/tsocks b/profile.d/tsocks index 49d3f2b..b4ef248 100644 --- a/profile.d/tsocks +++ b/profile.d/tsocks @@ -1,4 +1,7 @@ #!/bin/bash # Proxy -export TSOCKS_CONF_FILE=~/.config/tsocks/tsocks.conf +if [ -x /usr/bin/tsocks ] +then + export TSOCKS_CONF_FILE=~/.config/tsocks/tsocks.conf +fi diff --git a/rc.d/todo.txt b/rc.d/todo.txt new file mode 100644 index 0000000..8eab41f --- /dev/null +++ b/rc.d/todo.txt @@ -0,0 +1,14 @@ +#!/bin/bash + +if [ -f ~/software/todo.txt-cli/todo.sh ]; then + + source ~/software/todo.txt-cli/todo_completion + export TODOTXT_DEFAULT_ACTION=ls + + alias todo='~/software/todo.txt-cli/todo.sh' + complete -F _todo todo + + alias t='~/software/todo.txt-cli/todo.sh' + complete -F _todo t + +fi diff --git a/rc.d/zz-powerline b/rc.d/zz-powerline index b4a1e3c..0d8f560 100644 --- a/rc.d/zz-powerline +++ b/rc.d/zz-powerline @@ -7,7 +7,7 @@ POWERLINE_FILE=/usr/share/powerline/bash/powerline.sh export URXVT_FONT_NAME="DejaVu Sans Mono for Powerline" export URXVT_FONT_SIZE="8" -if [ -f "${POWERLINE_FILE}" ] +if [ -f "${POWERLINE_FILE}" -a -z "$SSH_CONNECTION" ] then xrdb -merge <<"EOF"