." generated with Ronn/v0.7.3 ." github.com/rtomayko/ronn/tree/0.7.3 . .TH “AKA” “7” “November 2018” “” “” . .SH “NAME” fBakafR - Manage Shell Keyboard Shortcuts . .SH “SYNOPSIS” fBakafR add fIshortcutfR fIcommandfR [options] . .br fBakafR show fIshortcutfR [options] . .br fBakafR edit fIshortcutfR [options] . .br fBakafR remove fIshortcutfR . .br fBakafR list [options] . .br fBakafR link [options] . .br fBakafR generate [options] . .br fBakafR sync . .br fBakafR upgrade . .SH “DESCRIPTION” fBakafR is an easy way to manage keyboard shortcuts in UNIX shells. . .P You can replace commonly used commands with shorter, sexier keyboard shortcuts and, ultimately, improve your productivity! . .P With fBakafR, you can add, show, edit, remove, list keyboard shortcuts. On top of that you can tag shortcuts based on environment, tool, context, etc. Then, you can generate an appropriate output file for your environment. . .SH “OPTIONS” . .TP fB--helpfR: . .br Show help info
. .TP fB--versionfR: . .br Show version info
. .TP fB--log-level=<debug|info|warn|error|fatal>fR: . .br Set the logging level (Default: info)
. .SH “EXAMPLES” Add a keyboard shortcut and generate the output script: . .IP “” 4 . .nf
$ aka add ls “ls -F --color=auto” Created shortcut. $ aka generate alias ls=“ls -F --color=auto” . .fi . .IP “” 0 . .P Add a keyboard shortcut for a bash/zsh function: . .IP “” 4 . .nf
$ aka add psf “ps aux | grep $@” --function Created shortcut. $ aka generate function psf {
ps aux | grep $@
} . .fi . .IP “” 0 . .P Generate to a file instead: . .IP “” 4 . .nf
$ aka generate -o ~/.aka.zsh Generated ~/.aka.zsh. . .fi . .IP “” 0 . .P Tag a shortcut and generate for OS X: . .IP “” 4 . .nf
$ aka add ls “ls -F --color=auto” --tag os:linux Created shortcut. $ aka add ls “ls -FG” --tag os:darwin Created shortcut. $ aka generate --tag os:darwin alias ls=“ls -FG” . .fi . .IP “” 0 . .P Edit a shortcut: . .IP “” 4 . .nf
$ aka edit ls “ls -F --color=auto” --tag os:linux 1 Shortcut: ls 2 Description: 3 4 Function (y/n): n 5 Tags: os:linux 6 Command: 7 ls -FG /var/folders/rj/8bjyj6x92l9bxykxc_ljyqsc0000gp/T/shortcut20140222-63006-13csxr0“ 7L, 87C $ :wq . .fi . .IP ”“ 0 . .P Remove a shortcut: . .IP ”“ 4 . .nf
$ aka remove ls Removes shortcut. . .fi . .IP “” 0 . .P Add a link: . .IP “” 4 . .nf
$ aka link --tag os:linux --output ~/.aka.zsh Saved link. . .fi . .IP “” 0 . .P Remove a link: . .IP “” 4 . .nf
$ aka list ...
¶ ↑
Links
¶ ↑
- 1
-
~/.aka.zsh: osx, git
- 2
-
~/.aka.zsh: linux, git
$ aka link delete 2 Removed link. . .fi . .IP “” 0 . .P Synchronize links: . .IP “” 4 . .nf
$ aka link --tag os:linux --output ~/.aka.zsh Saved link. $ aka sync Generated ~/.aka.zsh. 4 shortcut(s) excluded (linux). . .fi . .IP “” 0 . .P Upgrade links from v0 to v1: . .IP “” 4 . .nf
$ aka upgrade Upgraded ~/.aka.db. Backed up to ~/.aka.db.backup.“ . .fi . .IP ”“ 0 . .SH ”ENVIRONMENT“ . .TP fBAKAfR: . .br The file where fBakafR stores everything. Default: ~/.aka.db