Logo
Explore Help
Sign In
h/fish-shell
1
Fork 0
You've already forked fish-shell
mirror of https://github.com/fish-shell/fish-shell.git synced 2026-05-13 21:11:15 -03:00
Code Issues Packages Projects Releases Wiki Activity
Files
18b2a65fdcf73893a51d6e76bf0dd34fc0828910
fish-shell/share/functions/fish_title.fish

7 lines
175 B
Fish
Raw Normal View History

Make DEFAULT_PROMPT and DEFAULT_TITLE work without functions The prompt is a fallback that is overridden via a function file anyway. Do that with the title as well, so we can use just builtins. This removes error messages when $fish_function_path is borked.
2018-05-12 13:53:45 +02:00
function fish_title
Disable fish_title in emacs
2019-05-06 17:06:40 +02:00
# emacs is basically the only term that can't handle it.
if not set -q INSIDE_EMACS
echo (status current-command) (__fish_pwd)
end
Make DEFAULT_PROMPT and DEFAULT_TITLE work without functions The prompt is a fallback that is overridden via a function file anyway. Do that with the title as well, so we can use just builtins. This removes error messages when $fish_function_path is borked.
2018-05-12 13:53:45 +02:00
end
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 57ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API