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