From 5bc84b8cae76312d76f99c5eb3c97759ea1e8181 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Tue, 2 Feb 2016 13:33:51 +0100 Subject: [PATCH] added O to unread and made network script smaller --- email/.mutt/colors.muttrc | 1 + shell/.bashrc | 3 ++- x/.local/bin/network | 5 ++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/email/.mutt/colors.muttrc b/email/.mutt/colors.muttrc index 14f0a08..f9deffe 100644 --- a/email/.mutt/colors.muttrc +++ b/email/.mutt/colors.muttrc @@ -16,6 +16,7 @@ color hdrdefault cyan default 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 diff --git a/shell/.bashrc b/shell/.bashrc index 4b99ac3..0d6e71f 100644 --- a/shell/.bashrc +++ b/shell/.bashrc @@ -20,7 +20,8 @@ export PATH=$PATH:$CLEAN_HOME/lib/exe:$CLEAN_HOME/bin:~/.local/bin 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=$? diff --git a/x/.local/bin/network b/x/.local/bin/network index 21a0eba..2d24504 100755 --- a/x/.local/bin/network +++ b/x/.local/bin/network @@ -1,3 +1,2 @@ -#!/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)" -- 2.20.1