From 554c8b85ebff5952a6442b3653e660eefe2f5e98 Mon Sep 17 00:00:00 2001 From: SqrtMinusOne Date: Tue, 4 Jan 2022 12:05:35 +0300 Subject: [PATCH] feat(console): hledger & various guix programs --- .bashrc | 4 ++-- .config/guix/manifests/console.scm | 2 ++ .profile | 4 ++++ Console.org | 7 +++++++ 4 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index 6ed3c2a..7f53e11 100644 --- a/.bashrc +++ b/.bashrc @@ -137,8 +137,8 @@ if [[ ! -z "$INIT_CONDA" ]]; then fi # Anaconda:1 ends here -# [[file:Console.org::*Starship prompt][Starship prompt:1]] +# [[file:Console.org::*Starship][Starship:1]] if [[ -z "$SIMPLE" ]]; then eval "$(starship init bash)" fi -# Starship prompt:1 ends here +# Starship:1 ends here diff --git a/.config/guix/manifests/console.scm b/.config/guix/manifests/console.scm index 2ba3713..3c55bfe 100644 --- a/.config/guix/manifests/console.scm +++ b/.config/guix/manifests/console.scm @@ -1,9 +1,11 @@ (specifications->manifest '( + "git-lfs" "sshfs" "tokei" "jmtpfs" "unzip" + "zip" "password-store" "p7zip" "fzf" diff --git a/.profile b/.profile index e827936..dcd3ddc 100644 --- a/.profile +++ b/.profile @@ -7,6 +7,10 @@ export QT_AUTO_SCREEN_SCALE_FACTOR=0 export RIPGREP_CONFIG_PATH=$HOME/.config/ripgrep/ripgreprc # Environment:2 ends here +# [[file:Console.org::*Environment][Environment:3]] +export LEDGER_FILE=~/Documents/org-mode/ledger/ledger.journal +# Environment:3 ends here + # [[file:Console.org::*My paths][My paths:1]] if [ -d "$HOME/bin" ] ; then export PATH="$HOME/bin:$PATH" diff --git a/Console.org b/Console.org index 3154ba9..696fc7f 100644 --- a/Console.org +++ b/Console.org @@ -61,6 +61,11 @@ Set ripgrep config path #+begin_src sh export RIPGREP_CONFIG_PATH=$HOME/.config/ripgrep/ripgreprc #+end_src + +hledger path +#+begin_src sh +export LEDGER_FILE=~/Documents/org-mode/ledger/ledger.journal +#+end_src ** My paths My script folders #+begin_src sh @@ -842,10 +847,12 @@ key_bindings: | fzf | fuzzy finder | | p7zip | archiver | | password-store | CLI password manager | +| zip | | | unzip | | | jmtpfs | A tool to mount MTP devices (e.g. Android) | | tokei | Count lines of code | | sshfs | Mount stuff over SSH | +| git-lfs | | ** ripgrep config Occasionally I can't exclude certain files from ripgrep via the VCS settings, so here is a simple config to ignore certain files globally.