From 9ce4d6c37dd22f20e250cb0a8f08c753e65dd4d0 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Sun, 9 Jun 2024 14:46:35 +0200 Subject: [PATCH] Add .config/fish/conf.d/path.fish Remove .config/fish/functions/fish_title.fish --- dot_config/fish/conf.d/path.fish | 1 + dot_config/fish/functions/fish_title.fish | 15 --------------- 2 files changed, 1 insertion(+), 15 deletions(-) create mode 100644 dot_config/fish/conf.d/path.fish delete mode 100644 dot_config/fish/functions/fish_title.fish diff --git a/dot_config/fish/conf.d/path.fish b/dot_config/fish/conf.d/path.fish new file mode 100644 index 0000000..5be1e3d --- /dev/null +++ b/dot_config/fish/conf.d/path.fish @@ -0,0 +1 @@ +fish_add_path ~/bin ~/.local/bin diff --git a/dot_config/fish/functions/fish_title.fish b/dot_config/fish/functions/fish_title.fish deleted file mode 100644 index 638c998..0000000 --- a/dot_config/fish/functions/fish_title.fish +++ /dev/null @@ -1,15 +0,0 @@ -function fish_title \ - --description "Set title to current folder and shell name" \ - --argument-names last_command - - set --local current_folder (fish_prompt_pwd_dir_length=$pure_shorten_window_title_current_directory_length prompt_pwd) - set --local current_command (status current-command 2>/dev/null; or echo $_) - - set --local prompt "$current_folder: $last_command $pure_symbol_title_bar_separator $current_command" - - if test -z "$last_command" - set prompt "$current_folder $pure_symbol_title_bar_separator $current_command" - end - - echo $prompt -end