fixes
This commit is contained in:
parent
bca6a51ad7
commit
a12da0c244
4 changed files with 22 additions and 3 deletions
|
@ -1,6 +1,13 @@
|
|||
if status is-interactive
|
||||
set -g fish_key_bindings fish_vi_key_bindings
|
||||
starship init fish | source
|
||||
set -g fish_key_bindings fish_vi_key_bindings
|
||||
|
||||
if command -q starship
|
||||
starship init fish | source
|
||||
else if test -x /opt/homebrew/bin/starship
|
||||
/opt/homebrew/bin/starship init fish | source
|
||||
else if test -x /usr/local/bin/starship
|
||||
/usr/local/bin/starship init fish | source
|
||||
end
|
||||
end
|
||||
|
||||
set -U fish_greeting
|
||||
|
@ -12,3 +19,4 @@ end
|
|||
if test -f "$HOME/.config/fish/local.fish"
|
||||
source "$HOME/.config/fish/local.fish"
|
||||
end
|
||||
|
||||
|
|
|
@ -34,4 +34,4 @@ SETUVAR fish_pager_color_description:yellow\x1e\x2di
|
|||
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
||||
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
||||
SETUVAR fish_pager_color_selected_background:\x2dr
|
||||
SETUVAR fish_user_paths:/opt/homebrew/bin
|
||||
SETUVAR fish_user_paths:/Users/jsc/Applications/flutter/bin\x1e/opt/homebrew/bin
|
||||
|
|
|
@ -53,6 +53,7 @@ SYMLINKS=(
|
|||
"vim/config.vim:$HOME/.vim_runtime/my_configs.vim"
|
||||
"vim/plugins:$HOME/.vim_runtime/my_plugins"
|
||||
"fish:$HOME/.config/fish"
|
||||
"starship.toml:$HOME/.config/starfish.toml"
|
||||
)
|
||||
|
||||
TARGET_SHELL="fish"
|
||||
|
|
10
starship.toml
Normal file
10
starship.toml
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Get editor completions based on the config schema
|
||||
"$schema" = 'https://starship.rs/config-schema.json'
|
||||
|
||||
# Inserts a blank line between shell prompts
|
||||
add_newline = true
|
||||
command_timeout = 750
|
||||
|
||||
# Disable the package module, hiding it from the prompt completely
|
||||
[package]
|
||||
disabled = true
|
Loading…
Reference in a new issue