#W# Initial Commit: NixOS
This commit is contained in:
commit
f79adc1a63
77 changed files with 15125 additions and 0 deletions
15
home-manager/files/bashrc
Normal file
15
home-manager/files/bashrc
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
export DOTNET_ROOT=$HOME/.dotnet
|
||||
export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
|
||||
export DOTNET_SYSTEM_NET_DISABLEIPV6=1
|
||||
gitbranch() {
|
||||
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
|
||||
}
|
||||
gitbranchdirty() {
|
||||
[[ $(git status --porcelain 2> /dev/null) ]] && echo " *"
|
||||
}
|
||||
|
||||
if [ -n "$DISTROBOX_ENTER_PATH" ]; then
|
||||
PS1="[CONTAINER - ] [\w]\$(gitbranch)$(gitbranchdirty)\\n[\$]: "
|
||||
fi
|
||||
clear
|
||||
echo "Welcom to your ArchLinux Distrobox Container!"
|
||||
Loading…
Add table
Add a link
Reference in a new issue