.toolboxenv path name changed

This commit is contained in:
John Mertz 2023-10-05 18:34:34 +00:00
parent f048134bc3
commit 8b2868af8f
1 changed files with 2 additions and 2 deletions

View File

@ -48,8 +48,8 @@ alias mpv="flatpak run io.mpv.Mpv"
# Nixpkgs # Nixpkgs
alias waybar="/home/jpm/.dotfiles/nix/bin/waybar" alias waybar="/home/jpm/.dotfiles/nix/bin/waybar"
# Detect if I'm in a toolbox # Detect if I'm in a distrobox, returns name of box, if applicable
alias isdistrobox='[ -f "/run/.toolboxenv" ] && grep -oP "(?<=name=\")[^\";]+" /run/.containerenv' alias isdistrobox='[ -f "/run/.containerenv" ] && grep -oP "(?<=name=\")[^\";]+" /run/.containerenv'
# Flag that the directory was just changed (used with prompt) # Flag that the directory was just changed (used with prompt)
alias cd='export DIRCHANGED="1"; cd' alias cd='export DIRCHANGED="1"; cd'