.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
|
# 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'
|
||||||
|
|
Loading…
Reference in New Issue