From a34451062ba4b6e4a8c86da0355361c24c10cd35 Mon Sep 17 00:00:00 2001 From: Kevin Mok Date: Fri, 27 Oct 2017 15:34:27 -0400 Subject: [PATCH] Minor. --- dotfiles/.bash_aliases | 2 ++ dotfiles/.bashrc | 6 +++--- dotfiles/.vimrc | 3 ++- dotfiles/termConfig | 2 ++ 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/dotfiles/.bash_aliases b/dotfiles/.bash_aliases index 150f880..8155276 100644 --- a/dotfiles/.bash_aliases +++ b/dotfiles/.bash_aliases @@ -21,6 +21,7 @@ alias rcg="cd ~/Documents/coding/random-color-generator" alias lab="cd ~/258/258-labs-self" # config +alias lc="cd ~/linux-config" alias vb="vi ~/.bash_aliases" alias vv="vi ~/.vimrc" alias rba=". ~/.bashrc" @@ -54,3 +55,4 @@ g(){ rs(){ redshift -O $(($1 * 1000)) } +alias rx="redshift -x" diff --git a/dotfiles/.bashrc b/dotfiles/.bashrc index 1530104..a874e5d 100644 --- a/dotfiles/.bashrc +++ b/dotfiles/.bashrc @@ -36,9 +36,9 @@ if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then fi # set a fancy prompt (non-color, unless we know we "want" color) -case "$TERM" in - xterm|xterm-color|*-256color) color_prompt=yes;; -esac +# case "$TERM" in +# xterm|xterm-color|*-256color) color_prompt=yes;; +# esac # uncomment for a colored prompt, if the terminal has the capability; turned # off by default to not distract the user: the focus in a terminal window diff --git a/dotfiles/.vimrc b/dotfiles/.vimrc index d07809c..87962aa 100644 --- a/dotfiles/.vimrc +++ b/dotfiles/.vimrc @@ -1,6 +1,6 @@ set relativenumber set background=dark -set t_Co=256 +" set t_Co=256 syntax on set tabstop=4 set shiftwidth=4 @@ -29,5 +29,6 @@ map :wa map :wqa map :qa! map :PlugInstall +map :.,$s/:\(\w\)/: \1/g " map o " map O diff --git a/dotfiles/termConfig b/dotfiles/termConfig index 4b62efb..e315b4a 100644 --- a/dotfiles/termConfig +++ b/dotfiles/termConfig @@ -17,8 +17,10 @@ background_image = None copy_on_selection = True cursor_color = "#b9b9b9" + custom_command = env TERM=xterm-256color bash font = Noto Mono 10 foreground_color = "#0077ff" palette = "#000000:#aa0000:#00aa00:#aa5500:#0000aa:#aa00aa:#00aaaa:#aaaaaa:#555555:#ff5555:#55ff55:#ffff55:#5555ff:#ff55ff:#55ffff:#ffffff" scrollbar_position = hidden + use_custom_command = True use_system_font = False