T05: shell integration for zsh, bash, fish, PowerShell; installed at start
CI / platforms (windows-latest) (push) Failing after 8s
CI / macos (push) Failing after 8m47s
CI / platforms (ubuntu-24.04) (push) Canceled after 0s

This commit is contained in:
ZacharyZhang-NY committed 2026-10-14 12:24:31 -04:00
1 parent 8c6f242bf1
commit dfaf378418
12 files changed
+375 -4

No files matched your search

@@ -0,0 +1,18 @@
# ELYTerminal: load the usual startup files, report folder and title.
if [ -n "${ELY_BASH_LOGIN-}" ]; then
builtin unset ELY_BASH_LOGIN
[ -r /etc/profile ] && builtin source /etc/profile
for _ely_file in ~/.bash_profile ~/.bash_login ~/.profile; do
if [ -r "$_ely_file" ]; then
builtin source "$_ely_file"
break
fi
done
builtin unset _ely_file
else
[ -r ~/.bashrc ] && builtin source ~/.bashrc
fi
_ely_prompt() {
builtin printf '\e]7;file://%s\a\e]2;%s\a' "${PWD//\%/%25}" "${PWD##*/}"
}
PROMPT_COMMAND="_ely_prompt${PROMPT_COMMAND:+;$PROMPT_COMMAND}"