Add cwd.sh to display the tmux pane's current working directory, updated README to reflect change
This commit is contained in:
parent
b346d10306
commit
09c5750656
3 changed files with 37 additions and 0 deletions
|
@ -128,6 +128,12 @@ main()
|
|||
|
||||
for plugin in "${plugins[@]}"; do
|
||||
|
||||
if [ $plugin = "cwd" ]; then
|
||||
IFS=' ' read -r -a colors <<< $(get_tmux_option "@dracula-cwd-colors" "dark_gray white")
|
||||
tmux set-option -g status-right-length 250
|
||||
script="#($current_dir/cwd.sh)"
|
||||
fi
|
||||
|
||||
if [ $plugin = "git" ]; then
|
||||
IFS=' ' read -r -a colors <<< $(get_tmux_option "@dracula-git-colors" "green dark_gray")
|
||||
tmux set-option -g status-right-length 250
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue