Skip to content

Commit d9e1c45

Browse files
committed
Add - help hotkey settings in main.sh
1 parent 22dfa8e commit d9e1c45

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

main.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,22 @@ LHS_BIND_KEY=${3:-'True'}
9595

9696
if [[ ${LHS_BIND_KEY} == "True" && "$(which zle)" != "" ]]; then
9797
# Add hot-keys
98-
# zle -N aws_help
98+
99+
# For aws helper function
100+
zle -N aws_help
101+
bindkey '^h' aws_help
102+
103+
# For assume role
99104
zle -N aws_main_function
100105
bindkey '^@' aws_main_function
101106

107+
# For building the aws cli commandline
102108
zle -N aws_get_command
103109
# Hotkey: Option + a + c
104110
bindkey 'åç' aws_get_command
105-
106111
bindkey '' aws_get_command
107112

113+
# For get history
108114
zle -N aws_history
109115
# Hotkey Option + ah
110116
bindkey '˙' aws_history

0 commit comments

Comments
 (0)