From: Mart Lubbers Date: Wed, 27 Jan 2016 08:37:42 +0000 (+0100) Subject: network chooser, better muttrc and updated bashrc X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=b8049b265e39709b179fd714643214a38a2c4678;p=dotfiles.git network chooser, better muttrc and updated bashrc --- diff --git a/email/.mutt/muttrc b/email/.mutt/muttrc index c93fb35..4ac8ff3 100644 --- a/email/.mutt/muttrc +++ b/email/.mutt/muttrc @@ -67,6 +67,7 @@ macro index,pager A \ source ~/.mutt/colors.muttrc # Crypto +set crypt_use_gpgme=yes set crypt_autosign set crypt_replysign set crypt_replysignencrypted=yes diff --git a/shell/.bash_profile b/shell/.bash_profile new file mode 100644 index 0000000..c7ab42d --- /dev/null +++ b/shell/.bash_profile @@ -0,0 +1,2 @@ +[[ -f ~/.bashrc ]] && . ~/.bashrc +[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx || true diff --git a/shell/.bashrc b/shell/.bashrc index a75e47e..4b99ac3 100644 --- a/shell/.bashrc +++ b/shell/.bashrc @@ -6,8 +6,6 @@ export HISTSIZE=NOTHING shopt -s histappend export PROMPT_COMMAND='history -a' -. /usr/share/bash-completion/bash_completion - export TERMINAL=urxvtc export EDITOR=vim export TERM=screen diff --git a/x/.local/bin/network b/x/.local/bin/network index 7debf89..21a0eba 100755 --- a/x/.local/bin/network +++ b/x/.local/bin/network @@ -1,3 +1,3 @@ #!/bin/bash -find /etc/netctl -maxdepth 1 -type f | xargs basename | dmenu | \ +find /etc/netctl -maxdepth 1 -type f | xargs -n 1 basename | dmenu | \ xargs -I{} sudo -A netctl switch-to {}