diff options
-rw-r--r-- | fish.txt | 22 | ||||
-rw-r--r-- | src/SUMMARY.md | 1 | ||||
-rw-r--r-- | src/fish.md | 16 |
3 files changed, 17 insertions, 22 deletions
diff --git a/fish.txt b/fish.txt deleted file mode 100644 index 346df12..0000000 --- a/fish.txt +++ /dev/null @@ -1,22 +0,0 @@ -# fish-shell ------------------------------------------------------------------------------------------------------------------------- - -# toc - |keymaps| - |debug| - - - *keymaps* - Shift-Tab tab-completion with search - Alt-Up / Alt-Down search history with token under the cursor - Alt-l list content of dir under cursor - Alt-p append '2>&1 | less;' to current cmdline - - - - *debug* - status print-stack-trace prints function stacktrace (can be used in scripts) - breakpoint halt script execution and gives shell (C-d | exit to continue) - - ------------------------------------------------------------------------------------------------------------------------- -vim:ft=help:sts=2:et:tw=120:cc=120:fo+=t - diff --git a/src/SUMMARY.md b/src/SUMMARY.md index db14b8c..cea9f22 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -4,6 +4,7 @@ - [gdb](./gdb.md) - [radare2](./radare2.md) - [emacs](./emacs.md) +- [fish](./fish.md) - [strace](./strace.md) - [lsof](./lsof.md) - [pidstat](./pidstat.md) diff --git a/src/fish.md b/src/fish.md new file mode 100644 index 0000000..f24b57f --- /dev/null +++ b/src/fish.md @@ -0,0 +1,16 @@ +# fish(1) + +## keymaps +```markdown + Shift-Tab ........... tab-completion with search + Alt-Up / Alt-Down ... search history with token under the cursor + Alt-l ............... list content of dir under cursor + Alt-p ............... append '2>&1 | less;' to current cmdline +``` + +## debug +```markdown + status print-stack-trace .. prints function stacktrace (can be used in scripts) + breakpoint ................ halt script execution and gives shell (C-d | exit + to continue) +``` |