color signature cyan default
color index green default ~p
color index brightyellow default ~N
+color index brightyellow default ~O
color index blue default ~T
color index red default ~D
color index brightblue default ~F
alias ls='ls --color=auto'
alias grep='grep --color=auto'
-alias vi=vim
+alias vi='vim'
+alias autoclean='sudo pacman -R $(pacman -Qtdq)'
set_prompt(){
last_c=$?
-#!/bin/bash
-find /etc/netctl -maxdepth 1 -type f | xargs -n 1 basename | dmenu | \
- xargs -I{} sudo -A netctl switch-to {}
+#!/bin/bash -e
+sudo -A netctl switch-to "$(netctl list | cut -b 3- | dmenu)"