Skip to content

morganastra/dot-config-fish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dot-config-fish

My personal config for the Friendly Interactive Shell.

To install, symlink to ~/.config/fish

External commands required for full functionality

  • cowsay
  • bat
  • ripgrep (rg)
  • mpv
  • qrencode
  • fzf
  • python3

Interesting functions

AUR package management

Most of these expect $AUR_DIR to be set, the location of a directory where AUR package git repos will be cloned. .local/share/aur is a reasonable choice.

  • aurc: Install a package from the AUR.
  • aurs: Search the AUR for a given string.
  • aurup: Update all installed AUR packages.
  • aurl: List all AUR packages installed on the system.
  • aur-dir-clean: Remove orphaned AUR directories not corresponding to installed packages.
  • aur-sync: Downloads the latest AUR package list. Not currently used for anything 😅
  • aur-disappeared: Display a list of locally installed packages that have been removed from the AUR.

Word Games

  • isword: Find words matching a pattern

Music playing

Meant to be used with a music library organized with directories for each album, with track numbers in filename. Uses mpv

  • m: Play album or directory
  • mshuf: Play album or directory in shuffled order
  • findmusic: Utility function to list music files in a directory (recursively)
  • mrand (abbr for m (randir)): Play a random album

Color/theme functions

  • print-colors: Display a chart of terminal colors for testing color schemes.
  • visualize-theme: Generate an HTML visualization of an Alacritty theme TOML file.

Shell/scripting utility functions

  • a: Use the best grep-replacement installed.
  • abbr-save: Interactively save contents of abbr. Assumes you want your abbrs in conf.d/abbrs.fish
  • pwait: Sleep until another process exits.
  • randir: Select a random subdirectory.
  • read-confirm: Prompt user to confirm something.

About

My personal config for the Friendly Interactive Shell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages