[zsh] Update all init-rc functions
This commit is contained in:
parent
1145ef23e1
commit
be4d690e32
16 changed files with 148 additions and 161 deletions
13
zsh/func/init-rc-app-environments
Normal file
13
zsh/func/init-rc-app-environments
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env zsh
|
||||
# Eryn Wells <eryn@erynwells.me>
|
||||
|
||||
autoload binary_exists
|
||||
|
||||
function init-rc-app-environments
|
||||
{
|
||||
# Default ledger file
|
||||
local -r ledger_file="$HOME/Documents/Ledger/personal.ledger"
|
||||
[[ -f "$ledger_file" ]] && export LEDGER_FILE="$ledger_file"
|
||||
}
|
||||
|
||||
init-rc-app-environments "$@"
|
Loading…
Add table
Add a link
Reference in a new issue