From 8667e097685d3203b717654f63f033261828f78d Mon Sep 17 00:00:00 2001 From: ChUrl Date: Wed, 9 Nov 2022 18:29:49 +0100 Subject: [PATCH] add initial navi cheats --- config/navi/christoph.cheat | 4 ++++ config/navi/main.cheat | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 config/navi/christoph.cheat create mode 100644 config/navi/main.cheat diff --git a/config/navi/christoph.cheat b/config/navi/christoph.cheat new file mode 100644 index 00000000..701ca0c2 --- /dev/null +++ b/config/navi/christoph.cheat @@ -0,0 +1,4 @@ +% nixos, nix-store, link + +# Find the storepath of an executable in the users path +readlink -f (which ) diff --git a/config/navi/main.cheat b/config/navi/main.cheat new file mode 100644 index 00000000..ed3b9b9e --- /dev/null +++ b/config/navi/main.cheat @@ -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: whoami