T05: shell integration for zsh, bash, fish, PowerShell; installed at start
This commit is contained in:
12 files changed
+375
-4
No files matched your search
@@ -0,0 +1,12 @@
|
||||
# ELYTerminal: restore XDG_DATA_DIRS, report the folder; fish_title keeps the title.
|
||||
if test -n "$ELY_FISH_XDG_DATA_DIRS"
|
||||
set -gx XDG_DATA_DIRS $ELY_FISH_XDG_DATA_DIRS
|
||||
else
|
||||
set -e XDG_DATA_DIRS
|
||||
end
|
||||
set -e ELY_FISH_XDG_DATA_DIRS
|
||||
if status is-interactive
|
||||
function _ely_prompt --on-event fish_prompt
|
||||
printf '\e]7;file://%s\a' (string replace -a % %25 -- $PWD)
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user