mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-04 03:52:10 +02:00
@@ -17,7 +17,9 @@ in {
|
|||||||
};
|
};
|
||||||
historySubstringSearch.enable = true;
|
historySubstringSearch.enable = true;
|
||||||
|
|
||||||
initExtraFirst = ''
|
initExtraFirst =
|
||||||
|
#bash
|
||||||
|
''
|
||||||
bindkey -e
|
bindkey -e
|
||||||
${if fetch == "neofetch" then
|
${if fetch == "neofetch" then
|
||||||
pkgs.neofetch + "/bin/neofetch"
|
pkgs.neofetch + "/bin/neofetch"
|
||||||
@@ -34,6 +36,16 @@ in {
|
|||||||
sesh connect $session
|
sesh connect $session
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function chatgptlist(){
|
||||||
|
for arg in "$@"; do
|
||||||
|
echo "$arg:"
|
||||||
|
echo "\`\`\`"
|
||||||
|
cat "$arg"
|
||||||
|
echo "\`\`\`"
|
||||||
|
echo
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
zle -N sesh-sessions
|
zle -N sesh-sessions
|
||||||
bindkey -M emacs '\es' sesh-sessions
|
bindkey -M emacs '\es' sesh-sessions
|
||||||
bindkey -M vicmd '\es' sesh-sessions
|
bindkey -M vicmd '\es' sesh-sessions
|
||||||
|
|||||||
Reference in New Issue
Block a user