ldaslkjdsalkjadslkj
This commit is contained in:
parent
3b9ccf61b8
commit
bbf0624868
users/pbsds/home/profiles
@ -105,6 +105,11 @@ zeditor-remote() {
|
|||||||
if [[ "$?" -eq 130 ]]; then
|
if [[ "$?" -eq 130 ]]; then
|
||||||
return 1 # ctrl-c
|
return 1 # ctrl-c
|
||||||
fi
|
fi
|
||||||
|
if command -v direnv >/dev/null; then
|
||||||
|
# TODO: need i find a way to load the direnv on remotes?
|
||||||
|
# https://github.com/zed-industries/zed/issues/4977#issuecomment-2536680602
|
||||||
|
zed_cmd="direnv exec ${choice} $zed_cmd"
|
||||||
|
fi
|
||||||
# history -s "${zed_cmd}"
|
# history -s "${zed_cmd}"
|
||||||
eval ${zed_cmd}
|
eval ${zed_cmd}
|
||||||
printf >&2 "%s\n" "+$(printf " %q" cd "${choice}")"
|
printf >&2 "%s\n" "+$(printf " %q" cd "${choice}")"
|
||||||
|
@ -3,8 +3,7 @@
|
|||||||
let
|
let
|
||||||
|
|
||||||
_tmp_func_name = "_tmp_func_Oaw5aifeeniezeiquonaipheNahthae9caik4Rai"; # pwgen ftw
|
_tmp_func_name = "_tmp_func_Oaw5aifeeniezeiquonaipheNahthae9caik4Rai"; # pwgen ftw
|
||||||
# TODO: trap the 'unset'?
|
mkArgsAlias = alias: ''${_tmp_func_name}() { unset -f ${_tmp_func_name}; ${alias}; }; ${_tmp_func_name}'';
|
||||||
mkArgsAlias = alias: ''${_tmp_func_name}() { ${alias}; unset -f ${_tmp_func_name}; }; ${_tmp_func_name}'';
|
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user