Personal dotfiles for Linux, mostly for Nixpkgs/NixOS-based and Termux setups. Mirrored using GitLab's push mirroring feature. gitlab.com/andreijiroh-dev/dotfiles
linux dotfiles
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Usual bashrc and profile updates

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>

+23 -5
+3
.config/bash/bashrc
··· 68 68 # ~/.bash_aliases, instead of adding them here directly. 69 69 # See /usr/share/doc/bash-doc/examples in the bash-doc package. 70 70 71 + source "${HOME}/.config/aliases" 72 + source "${HOME}/.config/bash/tools/automated-deploy.bashrc" 73 + 71 74 # enable programmable completion features (you don't need to enable 72 75 # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 73 76 # sources /etc/bash.bashrc).
+4 -1
.config/bash/hosts/btwscar-wsl-Alpine.bashrc
··· 1 1 #!/usr/bin/env bash 2 2 3 - alias generate-hash="abuild checksum && abuild -r" 3 + alias rehash-and-build="abuild checksum && abuild -r" 4 4 export GIT_EDITOR="code-insiders --wait" 5 + 6 + # handled locally via automated-deploy.bashrc 7 + #source "${HOME}/.config/bash/tools/nixpkgs.bashrc"
+10
.config/bash/tools/automated-deploy.bashrc
··· 1 + #!/usr/bin/env bash 2 + 3 + for file in "${HOME}"/.config/bash/tools/*.bashrc; do 4 + if [ "$file" == "${HOME}/.config/bash/tools/automated-deploy.bashrc" ]; then 5 + echo "avoiding source loop, skipping $file" 6 + else 7 + [ $DEBUG != "" ] && echo "sourcing $file" 8 + source "$file" 9 + fi 10 + done
+5
.config/bash/tools/nixpkgs.bashrc
··· 1 + #!/usr/bin/env bash 2 + 3 + if [[ -d "$HOME/.nix-profile/etc/profile.d/nix.sh" ]] && [[ $FF_DISABLE_NIXPKGS != "true" ]]; then 4 + source "${HOME}/.nix-profile/etc/profile.d/nix.sh" 5 + fi
+1 -4
.profile
··· 7 7 fi 8 8 fi 9 9 10 - export PATH="/usr/local/bin${PATH:+:}$PATH" # ~vern specifics and more 10 + export PATH="/usr/local/bin${PATH:+:}$PATH:$HOME/.local/share/JetBrains/Toolbox/scripts:$HOME/.local/bin" # ~vern specifics and more 11 11 mesg n 2> /dev/null || true 12 12 13 13 # then import the rest ··· 19 19 if [ -f "$HOME/.config/localconfig.env" ]; then 20 20 . "$HOME/.config/localconfig.env" 21 21 fi 22 - 23 - # Added by Toolbox App 24 - export PATH="$PATH:/home/ajhalili2006/.local/share/JetBrains/Toolbox/scripts" 25 22 26 23 # Import asdf to shell 27 24 #export ASDF_DIR="$HOME/.asdf"