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: README.md
+21-3Lines changed: 21 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ Just press `Ctrl+t` and start typing.
58
58
59
59
Pick the command you want by pressing enter. To abort press `Ctrl+C`
60
60
61
-
## A commands to your cheat sheet
61
+
## Add commands to your cheat sheet
62
62
63
63
Commmands are stored in `~/.config/icl/commands.txt`
64
64
@@ -79,11 +79,29 @@ ps aux
79
79
80
80
```
81
81
82
-
### Bonus: icl as a TLDR client
82
+
##Change the keybind
83
83
84
-
The file tldr.txt includes all commands scrapped from tldr repository. If you want to be able to access them using icl, simply place them in your ''commands.txt''. You can do so by running the following command.
84
+
If you installed `icl` with the one line snippets provided above. The keybind is defined in `~/.config/fish/config.fish` , `~/.bashrc` or `~/.zshrc` depending on which shell you are using. Look for one of the following commands and replace `ctrl+t` with another keybind on your preference.
85
85
86
+
```shellscript
87
+
# fish
88
+
bind \ct f_run_icl
89
+
90
+
# zsh
91
+
bindkey ^t w_run_icl
92
+
93
+
# Bash
94
+
bind '"\C-t":"f_run_icl\n"'
95
+
```
96
+
97
+
### Bonus: icl as a [TLDR](https://tldr.sh/) client
98
+
The file `tldr.txt` includes all commands scrapped from tldr repository. If you want to be able to access them using icl, simply place them in your `commands.txt`. You can do so by running the following command.
0 commit comments