Handle being in a deleted directory
* Do not whine when executed from a missing directory * Display a section with '(no cwd)' * Display path with a different color
This commit is contained in:
parent
4b84f067e7
commit
ab28d80e5b
7 changed files with 59 additions and 11 deletions
|
@ -47,6 +47,9 @@
|
|||
# Current working directory - Foreground / background colors
|
||||
'cwd_fg_color' => SECTION_DEFAULT ,
|
||||
'cwd_bg_color' => SECTION_DEFAULT ,
|
||||
# Current working directory - Colors when directory is missing
|
||||
'cwd_missing_fg_color' => thref 'fg3' ,
|
||||
'cwd_missing_bg_color' => thref 'bg3' ,
|
||||
|
||||
# User@host - Remote host symbol
|
||||
'uh_remote_symbol' => '(r)',
|
||||
|
|
|
@ -47,6 +47,9 @@
|
|||
# Current working directory - Foreground / background colors
|
||||
'cwd_fg_color' => SECTION_DEFAULT ,
|
||||
'cwd_bg_color' => SECTION_DEFAULT ,
|
||||
# Current working directory - Colors when directory is missing
|
||||
'cwd_missing_fg_color' => thref 'fg3' ,
|
||||
'cwd_missing_bg_color' => thref 'bg3' ,
|
||||
|
||||
# User@host - Remote host symbol
|
||||
'uh_remote_symbol' => '(r)',
|
||||
|
|
|
@ -47,6 +47,9 @@
|
|||
# Current working directory - Foreground / background colors
|
||||
'cwd_fg_color' => SECTION_DEFAULT ,
|
||||
'cwd_bg_color' => SECTION_DEFAULT ,
|
||||
# Current working directory - Colors when directory is missing
|
||||
'cwd_missing_fg_color' => thref 'fg3' ,
|
||||
'cwd_missing_bg_color' => thref 'bg3' ,
|
||||
|
||||
# User@host - Remote host symbol
|
||||
'uh_remote_symbol' => "\x{21a5}",
|
||||
|
|
|
@ -47,6 +47,9 @@
|
|||
# Current working directory - Foreground / background colors
|
||||
'cwd_fg_color' => SECTION_DEFAULT ,
|
||||
'cwd_bg_color' => SECTION_DEFAULT ,
|
||||
# Current working directory - Colors when directory is missing
|
||||
'cwd_missing_fg_color' => thref 'fg3' ,
|
||||
'cwd_missing_bg_color' => thref 'bg3' ,
|
||||
|
||||
# User@host - Remote host symbol
|
||||
'uh_remote_symbol' => "\x{21a5}",
|
||||
|
|
|
@ -46,6 +46,9 @@
|
|||
# Current working directory - Foreground / background colors
|
||||
'cwd_fg_color' => SECTION_DEFAULT ,
|
||||
'cwd_bg_color' => SECTION_DEFAULT ,
|
||||
# Current working directory - Colors when directory is missing
|
||||
'cwd_missing_fg_color' => thref 'bg3' ,
|
||||
'cwd_missing_bg_color' => SECTION_DEFAULT ,
|
||||
|
||||
# User@host - Remote host symbol
|
||||
'uh_remote_symbol' => "\x{21a5}",
|
||||
|
|
|
@ -46,6 +46,9 @@
|
|||
# Current working directory - Foreground / background colors
|
||||
'cwd_fg_color' => SECTION_DEFAULT ,
|
||||
'cwd_bg_color' => SECTION_DEFAULT ,
|
||||
# Current working directory - Colors when directory is missing
|
||||
'cwd_missing_fg_color' => thref 'bg3' ,
|
||||
'cwd_missing_bg_color' => SECTION_DEFAULT ,
|
||||
|
||||
# User@host - Remote host symbol
|
||||
'uh_remote_symbol' => "\x{21a5}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue