mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
Adding gnu-colors plugin for dir_colors and list-colors
This commit is contained in:
parent
0fe05e24db
commit
b6299678b2
1 changed files with 6 additions and 0 deletions
6
plugins/gnu-colors/gnu-colors.plugin.zsh
Normal file
6
plugins/gnu-colors/gnu-colors.plugin.zsh
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
if type dircolors &> /dev/null; then
|
||||
eval `dircolors ~/.dir_colors`
|
||||
fi
|
||||
|
||||
# Temporary workaround for tab completion LS_COLORS; Issue #1563
|
||||
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
|
||||
Loading…
Add table
Add a link
Reference in a new issue