You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .zshrc
+3-11Lines changed: 3 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -445,17 +445,9 @@ cmd() {
445
445
return
446
446
fi
447
447
local cmd=$(llm -x -s "We are on the command line for a system identified as \`$(uname -a)\`. Show me a command line comand for the following in a code block. Be brief and concise.""$*")
448
-
echo -e "\n\x1b[32m$cmd\x1b[0m\n"
449
-
450
-
# Ask for confirmation (default to yes)
451
-
echo -n "Run this command? [Y/n] "
452
-
read -r response
453
-
# If response is empty (just pressed enter) or starts with y/Y, run the command
0 commit comments