- Change shebangs to use 'env' in prep for NixOS (and others) - `agenda` now has a symlink to the underlying tree structure named ".tree" - `binbox` has more checking, being prepped for automatic export of symlinks. - `cdz` now symlinks to the archive directory using "<archive name>.tmp". This is less confusing than a randomized extraction folder, and adds the benefit of being in the FS-tree of the original archive. - daisy.source changes: > Added basic debug mode. > `ched` can now set global (all of the shell) editor or local (lackadaisical utils only) editor. > The encoding/decoding functions have been expanded and improved. Extra checking, permissions are stored as well, `daisy_dec` can handle stdin. - Added new functions to manage lackadaisical config: daisy_backup (runs `bak` on config files), daisy_clear (removes config files), and daisy_restore (restores config files archived using bak). - All functions/tools prefixed with 'daisy_' are now also available prefixed with 'ld_' instead - Added a new utility, `clip`. This utility keeps a local variable that can be set if given args and get if no args are supplied. Basically a simple clipboard local to the ptty. Supports stdin.
18 lines
454 B
Text
Executable file
18 lines
454 B
Text
Executable file
#!/usr/bin/env -S echo Please run this program with: ". shrc" or include
|
|
# `FROM_RC=1 source shrc` in your RC file to set up an alias.
|
|
|
|
# Just opens your .rc file easily, for your current shell
|
|
# and sources the .rc afterwards!
|
|
|
|
# Source standard setup
|
|
if [[ $LD_INTERNAL -ne 1 ]];
|
|
then
|
|
LD_INTERNAL=1 source $LD_SOURCE_FILE
|
|
fi
|
|
|
|
shellname=$(basename $SHELL)
|
|
rc_name="."$shellname"rc"
|
|
rc_path="$HOME/$rc_name"
|
|
|
|
daisy_editor "$rc_path"
|
|
source "$rc_path"
|