From e39cf061f513980ae88a8d561b1d20f59d09b132 Mon Sep 17 00:00:00 2001 From: Aaron Gutierrez Date: Wed, 3 Feb 2016 10:11:18 -0500 Subject: [PATCH 1/2] Update ls alias for os x and zsh --- .zshrc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index d68a570..d9817a2 100644 --- a/.zshrc +++ b/.zshrc @@ -28,7 +28,6 @@ alias fuck='sudo $(history -p \!\!)' alias grep='grep --color=auto' alias hidden='ls -a | grep "^\..*"' alias killz='killall -9 ' -alias ls="ls --color=always" alias m='ncmpcpp' alias math='rlwrap MathKernel' alias ocaml='rlwrap ocaml' @@ -39,6 +38,15 @@ alias sml='rlwrap sml' alias style='clang-format-3.5 -style=Google' alias telnet='rlwrap telnet' +# Enable color support of ls and also add handy aliases +# Mac OS doesn't support --color flag for ls, needs -G instead. +if [[ `uname` = "Darwin" ]] +then + alias ls='ls -G' +else + alias ls='ls --color=auto' +fi + # Turn off the ability for other people to message your terminal using wall mesg n From b7367f5ce91092d5bc7ac95b51f208656833f75d Mon Sep 17 00:00:00 2001 From: Aaron Gutierrez Date: Thu, 25 Feb 2016 14:50:56 -0500 Subject: [PATCH 2/2] Add .Xresources --- .Xresources | 31 +++++++++++++++++++++++++++++++ install.sh | 2 -- 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 .Xresources diff --git a/.Xresources b/.Xresources new file mode 100644 index 0000000..251baf8 --- /dev/null +++ b/.Xresources @@ -0,0 +1,31 @@ +URxvt.scrollBar: false +urxvt.font: xft:DejavuSansMono:pixelsize=9 +URxvt.letterSpace: -1 + +! tangoesque scheme +*background: #111111 +*foreground: #eeeeee +! Black (not tango) + DarkGrey +*color0: #000000 +*color8: #444743 +! DarkRed + Red +*color1: #ff6565 +*color9: #ff8d8d +! DarkGreen + Green +*color2: #93e44f +*color10: #c8e7a8 +! DarkYellow + Yellow +*color3: #eab93d +*color11: #ffc123 +! DarkBlue + Blue +*color4: #204ad4 +*color12: #3465a4 +! DarkMagenta + Magenta +*color5: #ce5c00 +*color13: #f57900 +!DarkCyan + Cyan (both not tango) +*color6: #89b6e2 +*color14: #46a4ff +! LightGrey + White +*color7: #cccccc +*color15: #ffffff diff --git a/install.sh b/install.sh index 5bde887..f2525d9 100755 --- a/install.sh +++ b/install.sh @@ -4,5 +4,3 @@ git submodule sync; git submodule update; rsync --exclude ".git/" --exclude ".git*" --exclude "install.sh" --exclude "py3status" -avhE --no-perms . ~; - -source ~/.bashrc