diff --git a/.config/fish/functions/fish_command_not_found.fish b/.config/fish/functions/fish_command_not_found.fish new file mode 100644 index 0000000..94ffed3 --- /dev/null +++ b/.config/fish/functions/fish_command_not_found.fish @@ -0,0 +1,4 @@ +function fish_command_not_found + echo Did not find command $argv[1] + pkgfile -s $argv[1] +end diff --git a/.config/fish/functions/fish_title.fish b/.config/fish/functions/fish_title.fish new file mode 100644 index 0000000..e1c87b6 --- /dev/null +++ b/.config/fish/functions/fish_title.fish @@ -0,0 +1,7 @@ +function fish_title + if [ $_ = 'fish' ] + echo " " (prompt_pwd) + else + echo $_ + end +end