diff options
author | Nicholas Tay <nkt@outlook.kr> | 2021-04-10 14:56:23 +1000 |
---|---|---|
committer | Nicholas Tay <nkt@outlook.kr> | 2021-04-10 14:56:23 +1000 |
commit | c1aae3af259b6ea254d66c334f3d398c19029518 (patch) | |
tree | fc07c2b920926146a0286f970f1c030777d23c60 | |
parent | c3c002d0913b9be2e56173e073b39041181bf660 (diff) | |
download | dotlite-c1aae3af259b6ea254d66c334f3d398c19029518.tar.gz dotlite-c1aae3af259b6ea254d66c334f3d398c19029518.tar.bz2 dotlite-c1aae3af259b6ea254d66c334f3d398c19029518.zip |
macOS changes
-rw-r--r-- | .bashrc | 2 | ||||
-rw-r--r-- | .config/aliasrc | 8 | ||||
-rw-r--r-- | .config/nvim/init.vim | 2 |
3 files changed, 8 insertions, 4 deletions
@@ -12,7 +12,7 @@ PS1="\[\033[38;5;14m\]\u\[$(tput sgr0)\]\[\033[38;5;243m\]@\[$(tput sgr0)\]\[\03 export HISTFILE="$HOME/.local/share/bash_history" # cd by name only is ok -shopt -s autocd +shopt -s autocd 2>/dev/null # Load our aliases [ -f $HOME/.config/aliasrc ] && . $HOME/.config/aliasrc diff --git a/.config/aliasrc b/.config/aliasrc index 1da43c6..364df5a 100644 --- a/.config/aliasrc +++ b/.config/aliasrc @@ -8,9 +8,13 @@ alias cp="cp -iv" alias mv="mv -iv" # Utility colours -alias ls="ls --color=auto --group-directories-first" alias grep="grep --color=auto" -alias diff="diff --color=auto" +if [ "$(uname -s)" != "Darwin" ]; then + alias ls="ls --color=auto --group-directories-first" + alias diff="diff --color=auto" +else + alias ls="ls -G" +fi # dotfiles management alias d="git --git-dir=$HOME/.dotlite.git --work-tree=$HOME" diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index cbeece5..8ede6bf 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -13,7 +13,7 @@ set nohlsearch set splitbelow splitright set scrolloff=6 -colorscheme industry +colorscheme peachpuff set tabstop=4 set softtabstop=0 noexpandtab |