Select the types of activity you want to include in your feed.
Personal dotfiles for Linux, mostly for Nixpkgs/NixOS-based and Termux setups. Mirrored using GitLab's push mirroring feature.
gitlab.com/andreijiroh-dev/dotfiles
···1212# Stage 1: Source the ~/.profile
1313source "$HOME/.profile"
14141515-1615# Added by Toolbox App
1716export PATH="$PATH:/home/ajhalili2006/.local/share/JetBrains/Toolbox/scripts"
18171918_byobu_sourced=1 . /usr/bin/byobu-launch 2>/dev/null || true
1919+2020+if [ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ]; then . "$HOME/.nix-profile/etc/profile.d/nix.sh"; fi # added by Nix installer
+22-25
.bashrc
···44# oh-my-zsh, although I still use zsh as my default shell. Sorry for a
55# lot of personal commentary and links hellscape here, it's there for
66# in-code docs and for future me to not dig through 'git log' hell.
77-# SPDX-License-Identifier: TBD
77+# SPDX-License-Identifier: MIT AND MPL-2.0
8899## Stage 0: Init keychain + GPG_TTY for pinentry hellscapes in TUI. ##
1010-## This stage also initalizes oh-my-posh here. ##
1010+## This stage also initalizes oh-my-posh or custom
1111+## PSI here. ##
1112if [[ $TERMUX ]]; then
1213 export SSH_AGENT_=todo
1314elif command -v keychain >> /dev/null; then
···1516 eval $(keychain --agents gpg,ssh --eval)
1617fi
1718export GPG_TTY=$(tty)
1818-# TODO: Implement feature flag disabling this.
1919-if command -v oh-my-posh >>/dev/null; then
1919+2020+if command -v oh-my-posh >>/dev/null && [[ $FF_USE_OHMYPOSH != "false" ]]; then
2021 eval "$(oh-my-posh init bash)"
2222+else
2323+ if [[ $PROMPT_THEME != "" ]] && [[ -f "$HOME/.config/bash/shell-prompts/${PROMPT_THEME}.bashrc" ]]; then
2424+ source "$HOME/.config/bash/shell-prompts/${PROMPT_THEME}.bashrc"
2525+ else
2626+ source "$HOME/.config/bash/shell-prompts/vern.bashrc"
2727+ fi
2128fi
22292323-## Stage 1: Init custom vars and shortcuts before anything else ##
3030+## Stage 1: Init custom vars and shortcuts before anything else ##
3131+## Note that ~/.env and ~/.env.local should be loaded eariler on ##
2432# Dotfiles stuff, maybe should be on ~/.env?
2525-export DOTFILES_HOME="$HOME/.dotfiles"
3333+#export DOTFILES_HOME="$HOME/.dotfiles"
2634export DOTFILES_BIN="$DOTFILES_HOME/bin"
2735# gopath should be on ~/.local/share/go to not fuck up with local install
2836# at ~/go if exists
···3341# to my first editor after Notepad that started my web dev + Linux journey,
3442# Atom (https://github.com/atom).
3543export EDITOR=nano
3636-# For compartibility reasons and not to fuck things up on ~/go/bin.
3737-# Custom path might be also on ~/.env too?
3838-# It would be nice if I would work on self-hosted reimplementation of
3939-# proxy.golang.org, but in meanwhile, you need to fuck off Google on this.
4040-# (Fucking Facebook and Microsoft off your lives are also hard too ICYMI.)
4144# Context: https://git.sr.ht/~sircmpwn/dotfiles/tree/master/item/.profile#L13-15
4245# and https://drewdevault.com/2021/08/06/goproxy-breaks-go.html
4346export GOPROXY=direct GOSUMDB=off
···4952 source "$HOME/.bashbox/env"
5053fi
51545252-export HOMEBREW_HOME=${HOMEBREW_HOME:-"/home/linuxbrew/.linuxbrew"}
5353-test -d "$HOMEBREW_HOME" && eval "$($HOMEBREW_HOME/bin/brew shellenv)"
5454-[[ -r "$HOMEBREW_HOME/etc/profile.d/bash_completion.sh" ]] && . "$HOMEBREW_HOME/etc/profile.d/bash_completion.sh"
5555+# handle hostname generation for importing host-specific configs
5656+if [[ $WSL_DISTRO_NAME ]] && [[ $WSL_INTEROP ]]; then
5757+ HOSTNAME_BASH="${HOSTNAME}-wsl-${WSL_DISTRO_NAME}"
5858+ export WSL=1 # similar to CODESPACES and GITPOD_WORKSPACE_ID vars
5959+else
6060+ HOSTNAME_BASH="${HOSTNAME}"
6161+fi
55625656-for file in "$HOME/.config/bash/${HOSTNAME}.bash" "$HOME/.config/bash/prompt" "${HOME}/.config/bash/bashrc"; do
6363+for file in "$HOME/.config/bash/hosts/${HOSTNAME_BASH}.bashrc" "${HOME}/.config/bash/bashrc"; do
5764 [ -f $file ] && . "$file"
5865done
59666060-export NVM_DIR="$HOME/.nvm"
6161-[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
6262-[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
6363-6464-# make sure shell completions are loaded too
6565-. "$HOME/.asdf/asdf.sh"
6666-. "$HOME/.asdf/completions/asdf.bash"
6767-6868-eval "$(gopass completion bash)"
6969-eval "$(devbox global shellenv)"
+34-10
.config/htop/htoprc
···11# Beware! This file is rewritten by htop when settings are changed in the interface.
22# The parser is also very primitive, and not human-friendly.
33+htop_version=3.2.2
44+config_reader_min_version=3
35fields=0 48 17 18 38 39 40 2 46 47 49 1
44-sort_key=46
55-sort_direction=-1
66-tree_sort_key=47
77-tree_sort_direction=-1
86hide_kernel_threads=1
97hide_userland_threads=0
88+hide_running_in_container=0
109shadow_other_users=1
1110show_thread_names=0
1211show_program_path=1
1312highlight_base_name=1
1313+highlight_deleted_exe=1
1414+shadow_distribution_path_prefix=0
1415highlight_megabytes=1
1516highlight_threads=1
1617highlight_changes=0
···1819find_comm_in_cmdline=1
1920strip_exe_from_cmdline=1
2021show_merged_command=1
2121-tree_view=1
2222-tree_view_always_by_pid=0
2322header_margin=1
2323+screen_tabs=0
2424detailed_cpu_time=1
2525cpu_count_from_one=1
2626show_cpu_usage=1
···3232color_scheme=0
3333enable_mouse=1
3434delay=5
3535-left_meters=AllCPUs Memory Swap
3636-left_meter_modes=1 1 1
3737-right_meters=Tasks LoadAverage Uptime
3838-right_meter_modes=2 2 2
3935hide_function_bar=0
3636+header_layout=two_50_50
3737+column_meters_0=AllCPUs Memory Swap
3838+column_meter_modes_0=1 1 1
3939+column_meters_1=Tasks LoadAverage Uptime
4040+column_meter_modes_1=2 2 2
4141+tree_view=1
4242+sort_key=46
4343+tree_sort_key=1
4444+sort_direction=-1
4545+tree_sort_direction=1
4646+tree_view_always_by_pid=0
4747+all_branches_collapsed=0
4848+screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command
4949+.sort_key=PERCENT_CPU
5050+.tree_sort_key=Command
5151+.tree_view=1
5252+.tree_view_always_by_pid=0
5353+.sort_direction=-1
5454+.tree_sort_direction=1
5555+.all_branches_collapsed=0
5656+screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE Command
5757+.sort_key=IO_RATE
5858+.tree_sort_key=PID
5959+.tree_view=0
6060+.tree_view_always_by_pid=0
6161+.sort_direction=-1
6262+.tree_sort_direction=1
6363+.all_branches_collapsed=0
+4
.env
···1818# Customized PATH + Jetbrains Toolbox
1919export PATH="$HOME/go/bin:$HOME/.local/bin:$GOPATH/bin:$PATH:$HOME/.local/share/JetBrains/Toolbox/scripts"
20202121+# Hardcode timezone to PHT unless otherwise specified in ~/.env.local.
2222+# You might need tzdata installed on Alpine per https://wiki.alpinelinux.org/wiki/Setting_the_timezone
2323+export TZ=Asia/Manila
2424+2125##########################################################################################
2226# Code snippets from https://git.sr.ht/~sircmpwn/dotfiles/tree/db5945a4/item/.env
2327##########################################################################################
-3
.gnupg/gpg-agent.conf
···77# Let's be serious about our password hygenine
88min-passphrase-len 12
99min-passphrase-nonalpha 3
1010-1111-# Use our bloody pinentry handler for that.
1212-#pinentry-program bash /home/ajhalili2006/bin/handle-pinentry