1

add initial navi cheats

This commit is contained in:
2022-11-09 18:29:49 +01:00
parent d8bf2e79a4
commit 8667e09768
2 changed files with 16 additions and 0 deletions

View 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
View 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