mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +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
|
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
|
# 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"
|
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)
|
echo Backing up uvars to:\n (set_color --underline)$colors_backup(set_color normal)
|
||||||
set -U >>$colors_backup
|
set -U >>$colors_backup
|
||||||
for option in (set -Un | string match "fish*color_*")
|
for option in (set -Un | string match "fish*color_*")
|
||||||
|
|
Loading…
Reference in a new issue