mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
fix use of subcommand in __fish_config_interactive.fish
This commit is contained in:
parent
9d69f44550
commit
f9115b5ef1
1 changed files with 6 additions and 5 deletions
|
@ -33,11 +33,12 @@ function __fish_config_interactive -d "Initializations that should be performed
|
|||
end
|
||||
|
||||
#
|
||||
# If we are starting up for the first time, set various defaults
|
||||
# If we are starting up for the first time, set various defaults.
|
||||
#
|
||||
if not set -q __fish_init_2_39_8 # bump this to 2_4_0 when rolling release if anything changes after 9/10/2016
|
||||
set -g colors_backup "$HOME/fish_previous_colors-(date).txt"
|
||||
|
||||
# bump this to 2_4_0 when rolling release if anything changes after 9/10/2016
|
||||
if not set -q __fish_init_2_39_8
|
||||
set -l date (command date '+%Y-%m-%dT%H:%M:%S')
|
||||
set -g colors_backup "$HOME/fish_previous_colors-$date.txt"
|
||||
echo Backing up uvars to:\n (set_color --underline)$colors_backup(set_color normal)
|
||||
set -U >>$colors_backup
|
||||
for option in (set -Un | string match "fish*color_*")
|
||||
|
|
Loading…
Reference in a new issue