From c122eb154dc297f81606e9174189271af2d1ea63 Mon Sep 17 00:00:00 2001 From: Jinhong Jung Date: Wed, 10 Apr 2019 17:24:11 +0900 Subject: [PATCH] add colorls --- README.md | 6 ++++++ zsh/.zshrc | 24 +++++++++++++++++++----- 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 99019c5..8b019cc 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,8 @@ make install-font ``` * This will install powerline fonts on your system. * https://github.com/powerline/fonts +* http://nerdfonts.com/ + - Currently, I am using FiraCode in my terminal. ## zsh ### Installation @@ -48,6 +50,7 @@ make install-zsh * vi-mode * zsh-syntax-highlighting * zsh-autosuggestions +* colorls - https://github.com/athityakumar/colorls ## neovim @@ -96,3 +99,6 @@ make install-nvim * https://yanpritzker.com/learn-to-speak-vim-verbs-nouns-and-modifiers-d7bfed1f6b2d * http://stratus3d.com/blog/2017/10/26/better-vi-mode-in-zshell/ * https://www.techrepublic.com/blog/linux-and-open-source/using-vi-key-bindings-in-bash-and-zsh/ + +### zsh +* https://medium.com/@caulfieldOwen/youre-missing-out-on-a-better-mac-terminal-experience-d73647abf6d7 diff --git a/zsh/.zshrc b/zsh/.zshrc index 05c6ace..f0e17c2 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -128,13 +128,17 @@ spaceship_vi_mode_enable # spaceship prompt order SPACESHIP_PROMPT_ORDER=(user host dir git exec_time line_sep jobs exit_code vi_mode char) +SPACESHIP_PROMPT_ADD_NEWLINE="true" +SPACESHIP_CHAR_SYMBOL="\uf0e7" +SPACESHIP_CHAR_PREFIX="\uf296" +SPACESHIP_CHAR_SUFFIX=(" ") +SPACESHIP_CHAR_COLOR_SUCCESS="yellow" +SPACESHIP_PROMPT_DEFAULT_PREFIX="$USER" +SPACESHIP_PROMPT_FIRST_PREFIX_SHOW="true" +SPACESHIP_USER_SHOW="true" # ls colors -eval $(gdircolors ~/.dircolors/dircolors.ansi-dark) - -# Aliases -alias ls='gls --color=auto' -alias ll='ls -al' +#eval $(gdircolors ~/.dircolors/dircolors.ansi-dark) # Path export PATH="/Applications/MATLAB_R2018b.app/bin:${PATH}" @@ -147,3 +151,13 @@ source ~/bin/tmuxinator.zsh # locale setting export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 + +# rbenv +eval "$(rbenv init -)" + +# Aliases +#alias ls='gls --color=auto' +#alias ll='ls -al' +alias ls='colorls --dark --sort-dirs --git-status' +alias ll='colorls --dark --long --git-status' +alias lt='colorls --tree --dark --git-status'