Skip to content

Commit

Permalink
add colorls
Browse files Browse the repository at this point in the history
  • Loading branch information
jinhongjung committed Apr 10, 2019
1 parent 3669ad7 commit c122eb1
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -48,6 +50,7 @@ make install-zsh
* vi-mode
* zsh-syntax-highlighting
* zsh-autosuggestions
* colorls - https://github.com/athityakumar/colorls


## neovim
Expand Down Expand Up @@ -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
24 changes: 19 additions & 5 deletions zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand All @@ -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'

0 comments on commit c122eb1

Please sign in to comment.