add initial navi cheats
This commit is contained in:
4
config/navi/christoph.cheat
Normal file
4
config/navi/christoph.cheat
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
% nixos, nix-store, link
|
||||||
|
|
||||||
|
# Find the storepath of an executable in the users path
|
||||||
|
readlink -f (which <executable>)
|
12
config/navi/main.cheat
Normal file
12
config/navi/main.cheat
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
;This is a comment
|
||||||
|
;% Denotes the tags under which the cheat is categorized
|
||||||
|
;# Denotes the cheat description, followed by the command
|
||||||
|
;With $ variable definitions can be provided, if the command outputs multiple lines, fzf can choose between them
|
||||||
|
;If no $ is provided for a variable the user can input arbitrary things
|
||||||
|
|
||||||
|
% first cheat
|
||||||
|
|
||||||
|
# print something
|
||||||
|
echo "My name is <name>!"
|
||||||
|
|
||||||
|
$ name: whoami
|
Reference in New Issue
Block a user