wrote documentation on terminal sound effects added a sound effect for `invoke` added the function `build-drv`, which is a wrapper for nix-build that puts the output nix store path to the derivation into an environment variable instead of symlinking it in the current working directory
1.2 KiB
Terminal Sound Effects
My zsh configuration has several aliases and wrapper functions that essentially wrap commands such that they play a sound effect when
invoked. The sound effects are from Earthbound, and are stored in assets/sound. Notable examples include ls and cd which
both play a sound when invoked, among some of the other common utilities, for both GNU and NixOS. If you wish to disable these sound
effects, you can do so by changing the SOUNDS_ENABLED environment variable defined in modules/home/environment/zsh/env.nix from true to false.
The aliases and commands which use sound effects are:
-
grimblast- Uses:
assets/sound/screenshot.wav
- Uses:
-
ls- Uses:
assets/sound/ls.wav
- Uses:
-
cd- Uses:
assets/sound/cd.wav
- Uses:
-
gcomm (alias for 'git commit')- Uses:
assets/sound/gitcommit.wav
- Uses:
-
gpush (alias for 'git push')- Uses:
assets/sound/
- Uses:
-
gpull (alias for 'git pull')- Uses:
assets/sound/gitpull.wav
- Uses:
-
greb (alias for 'git rebase')- Uses:
assets/sound/gitrebase.wav
- Uses:
-
ga (alias for 'git add')- Uses:
assets/sound/gitadd.wav
- Uses:
-
gtp (alias for 'gtrash put')- Uses:
assets/sound/rm.wav
- Uses:
-
rebuild- Uses:
assets/sound/update.wavorassets/sound/error.wav
- Uses: