From f88877b211a83369d0faf8ce602c97d9e9ec14d4 Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Sat, 21 Jan 2023 15:33:10 +0000 Subject: [PATCH 1/3] chore(systemd): fix services stuff on systemd side Also in this commit, I also commited my aithorized_keys for IaC on my homelabs. Signed-off-by: Andrei Jiroh Halili --- .config/systemd/user/tildeverse-vern-caddy.service | 3 +-- .config/systemd/user/tildeverse-web-devpreview.service | 2 +- .ssh/authorized_keys | 6 ++++++ 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 .ssh/authorized_keys diff --git a/.config/systemd/user/tildeverse-vern-caddy.service b/.config/systemd/user/tildeverse-vern-caddy.service index e866639..871049b 100644 --- a/.config/systemd/user/tildeverse-vern-caddy.service +++ b/.config/systemd/user/tildeverse-vern-caddy.service @@ -11,5 +11,4 @@ StartLimitBurst=3 StartLimitInterval=90 [Install] -WantedBy=multi-user.target - +WantedBy=default.target diff --git a/.config/systemd/user/tildeverse-web-devpreview.service b/.config/systemd/user/tildeverse-web-devpreview.service index c595b8c..2e9ae9f 100644 --- a/.config/systemd/user/tildeverse-web-devpreview.service +++ b/.config/systemd/user/tildeverse-web-devpreview.service @@ -8,5 +8,5 @@ StartLimitBurst=3 StartLimitInterval=60 [Install] -WantedBy=default.target +WantedBy=default.target tildeverse-vern-caddy.service diff --git a/.ssh/authorized_keys b/.ssh/authorized_keys new file mode 100644 index 0000000..95cb1ca --- /dev/null +++ b/.ssh/authorized_keys @@ -0,0 +1,6 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCzMlrUe7qMA1P0lP56lq2dKTrwFU6CrVltQ9um+PhOMLkoi31kAlujHtWF6mqGRLXcK0Ao/0Wqug++r82Zu0u7dpAv8LCExtaRRMzagwPkEe4OOqUBOpS6mggfsik8mNA+1UtpkXJ+ZiB4cXtNKEZC0jtxWOTXSV67qgkSxuO+YBWB+7pnESkB0KorqwOoWGGUVfYQtbKUAt6VqM4s6dn7saXqwmN0tCPO6a+4L4mazkYjFD11HhktYsjP9dvnxYSOtMrSFb9JOXRST2LdiIJgwg+HTqBSWGO7aBRHMJaTF3ajlbMtKDQI/EcNQLyGgX6yFdjjzz9DRY+2oU0vPTytdqM2BKsfLlR0GVg7BVL7TZPaLJ1lgpCl4Z1oClW9FOzhnYJVT0W+IKPsnYsFPfv/BVgjWF7YtLdc5zqFJ31PULtikCyd0I6Kt95YD0HdrlR2faWcBHI8KKEAwCCanodGnK/xTOxisTX2dXOxx3mvR/L3Wil2ca5hnD+vt500/o8= gildedguy@andreijiroh +ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFTNV8nJ6ClJ2XmEDl4wJYUANt46SsZgSl7MYBza6VxbpozLhBsc+CSzXnCJpBMZH+5WaPRCVLgIAHyxZJh/v0s= ajhalili2006.srht - Gitpod use +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOKHIPrafF5WcCuTQDTmoR6O5z9yB6c67uWyFbcr0fYV sr.ht/~ajhalili2006 - ajhalili2006@gmail.com +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDCeAJ4l2WxXrO7SShNsl5BP+EHmhamkT9UFunKeBV16bMeultud9jJILoaeCTZO86Q6LNy+EjtgABehiozi6iQTh0EnJLzOsdOi4IDvrE/ijVk+7mG4d83Mn6MGKDdrWwf6EJxQqQSnHFwKOrlqF9n32jYvwDnyW3uqiYXAl2cro42GPVtWDSApRRkKWZhYpIyVp5/txg40Z/L9U6PbdTegTSxzxCe9dKruw/rdreGm9AbJ9BmYBEVlD3Tjju7JXN/G9/Odm/n2adymFSY9rf4kg3warB+J8d0UGe1cTZv4ruYoGMJEpM9z4KDgSuiRn7Ful5vd19w4gMQcr4l1xPuFT1SPmwN3ydBNkq65hjhmBWYe/ZegMiVOKPuuuFSgi5p3Tlh3kUwAPBRaFNpMuWM9t1fi9PMRlNo8ylC4olkdl7qumFEua4pXYDQ4ECV7VHJRWCBGXo1jO5EbCPNojpYv3JxwQ3LlOJfWQiDqMH78G6VqMWKa59lNX6kcAudof7LWANQAcF3753dYSBUQGlCfQNNk9ipZnLY9FYTv9SdblcM/nOgyN2i6eR+USRb/Cw3uUDuHNzdAmUcbnyB/sgbzOuojCUYTT6rG+n86S9j40bbeU+0emKt+0VGfMnNuUhWU6bg5vpIbNwm8oDW5RFTZIxfxHRl5ubnp+9HUTMiUQ== ajhalili2006-main-gpg +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDUnTexcVQTGT+UhX8MRPkMvM6FPuskbY2Dn0ScZ3+ot ~ajhalili2006 [passwordless key for sshfs] +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFrrYRVtV3OvgLzXMedNVITzoHnHd5wMVe53h16xxVWs ajhalili2006+passwordless@github.tailnet From 2667c38f2d6ebeea48a4fc6f5cdad133afa57861 Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Sun, 7 May 2023 02:04:33 +0000 Subject: [PATCH 2/3] feat(byobu): add byobu config to dotfiles The tmux config for byobu was copied from my dotfiles-legacy repo at https://git.sr.ht/~ajhalili2006/dotfiles-legacy/tree/49328649036ec5dc1bc62235c2b16fbe8f084eeb/item/config/tmux/main.conf Signed-off-by: Andrei Jiroh Halili --- .byobu/.screenrc | 0 .byobu/.ssh-agent | 1 + .byobu/.tmux.conf | 30 +++++++++++++++ .byobu/.welcome-displayed | 0 .byobu/backend | 1 + .byobu/color | 3 ++ .byobu/color.tmux | 4 ++ .byobu/datetime.tmux | 2 + .byobu/keybindings | 1 + .byobu/keybindings.tmux | 4 ++ .byobu/profile | 1 + .byobu/profile.tmux | 1 + .byobu/prompt | 1 + .byobu/status | 37 +++++++++++++++++++ .byobu/statusrc | 78 +++++++++++++++++++++++++++++++++++++++ .byobu/windows | 0 .byobu/windows.tmux | 0 17 files changed, 164 insertions(+) create mode 100644 .byobu/.screenrc create mode 120000 .byobu/.ssh-agent create mode 100644 .byobu/.tmux.conf create mode 100644 .byobu/.welcome-displayed create mode 100644 .byobu/backend create mode 100644 .byobu/color create mode 100644 .byobu/color.tmux create mode 100644 .byobu/datetime.tmux create mode 100644 .byobu/keybindings create mode 100644 .byobu/keybindings.tmux create mode 100644 .byobu/profile create mode 100644 .byobu/profile.tmux create mode 100644 .byobu/prompt create mode 100644 .byobu/status create mode 100644 .byobu/statusrc create mode 100644 .byobu/windows create mode 100644 .byobu/windows.tmux diff --git a/.byobu/.screenrc b/.byobu/.screenrc new file mode 100644 index 0000000..e69de29 diff --git a/.byobu/.ssh-agent b/.byobu/.ssh-agent new file mode 120000 index 0000000..68371b5 --- /dev/null +++ b/.byobu/.ssh-agent @@ -0,0 +1 @@ +/tmp/ssh-XXXXXXCepcGI/agent.135 \ No newline at end of file diff --git a/.byobu/.tmux.conf b/.byobu/.tmux.conf new file mode 100644 index 0000000..57f3b37 --- /dev/null +++ b/.byobu/.tmux.conf @@ -0,0 +1,30 @@ +# make sure we can magically source config changes via +R shortcut. +bind r source-file ~/.byobu/.tmux.conf + +# split to either horizontally or vertically +bind h splitw -h +bind v splitw -v +## Quick shortcuts btw for some tools as new windows ## +bind -n M-h new-window htop +bind -n M-m new-window mocp +bind -n M-l new-window lynx +# Since M-p is parked for something else, we add Ctrl before Alt/Meta as a workaround. +bind -n C-M-p new-window pamix +bind -n M-n new-window nano +# also works via the default +c +bind -n M-z new-window +bind t select-layout tiled + +# adopt some bloody shortcuts from Terminator +bind -n M-Left select-pane -L +bind -n M-Right select-pane -R +bind -n M-Up select-pane -U +bind -n M-Down select-pane -D + +# activity monitoring +setw -g monitor-activity on +set -g visual-activity on + +# use mouse on tmux, and a bit to tweaks, since I'm using an terminal emulator/gotty most of the time +set -g mouse on +#set -g mouse-select-pane on diff --git a/.byobu/.welcome-displayed b/.byobu/.welcome-displayed new file mode 100644 index 0000000..e69de29 diff --git a/.byobu/backend b/.byobu/backend new file mode 100644 index 0000000..ac0eb76 --- /dev/null +++ b/.byobu/backend @@ -0,0 +1 @@ +BYOBU_BACKEND=tmux diff --git a/.byobu/color b/.byobu/color new file mode 100644 index 0000000..1ee73ad --- /dev/null +++ b/.byobu/color @@ -0,0 +1,3 @@ +BACKGROUND=k +FOREGROUND=w +MONOCHROME=0 \ No newline at end of file diff --git a/.byobu/color.tmux b/.byobu/color.tmux new file mode 100644 index 0000000..4f55dc7 --- /dev/null +++ b/.byobu/color.tmux @@ -0,0 +1,4 @@ +BYOBU_DARK="\#333333" +BYOBU_LIGHT="\#EEEEEE" +BYOBU_ACCENT="\#75507B" +BYOBU_HIGHLIGHT="\#DD4814" diff --git a/.byobu/datetime.tmux b/.byobu/datetime.tmux new file mode 100644 index 0000000..7b888a7 --- /dev/null +++ b/.byobu/datetime.tmux @@ -0,0 +1,2 @@ +BYOBU_DATE="%Y-%m-%d " +BYOBU_TIME="%H:%M:%S" diff --git a/.byobu/keybindings b/.byobu/keybindings new file mode 100644 index 0000000..9d9bbdb --- /dev/null +++ b/.byobu/keybindings @@ -0,0 +1 @@ +source $BYOBU_PREFIX/share/byobu/keybindings/common diff --git a/.byobu/keybindings.tmux b/.byobu/keybindings.tmux new file mode 100644 index 0000000..eb3d92e --- /dev/null +++ b/.byobu/keybindings.tmux @@ -0,0 +1,4 @@ +unbind-key -n C-a +set -g prefix ^A +set -g prefix2 F12 +bind a send-prefix diff --git a/.byobu/profile b/.byobu/profile new file mode 100644 index 0000000..230ac0e --- /dev/null +++ b/.byobu/profile @@ -0,0 +1 @@ +source $BYOBU_PREFIX/share/byobu/profiles/common diff --git a/.byobu/profile.tmux b/.byobu/profile.tmux new file mode 100644 index 0000000..9ccca51 --- /dev/null +++ b/.byobu/profile.tmux @@ -0,0 +1 @@ +source $BYOBU_PREFIX/share/byobu/profiles/tmux diff --git a/.byobu/prompt b/.byobu/prompt new file mode 100644 index 0000000..c0a7eeb --- /dev/null +++ b/.byobu/prompt @@ -0,0 +1 @@ +[ -r /usr/share/byobu/profiles/bashrc ] && . /usr/share/byobu/profiles/bashrc #byobu-prompt# diff --git a/.byobu/status b/.byobu/status new file mode 100644 index 0000000..8fa7fc0 --- /dev/null +++ b/.byobu/status @@ -0,0 +1,37 @@ +# status - Byobu's default status enabled/disabled settings +# +# Override these in $BYOBU_CONFIG_DIR/status +# where BYOBU_CONFIG_DIR is XDG_CONFIG_HOME if defined, +# and $HOME/.byobu otherwise. +# +# Copyright (C) 2009-2011 Canonical Ltd. +# +# Authors: Dustin Kirkland +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# Status beginning with '#' are disabled. + +# Screen has two status lines, with 4 quadrants for status +screen_upper_left="color" +screen_upper_right="color whoami hostname ip_address menu" +screen_lower_left="color logo distro release #arch session" +screen_lower_right="color network #disk_io custom #entropy raid reboot_required updates_available #apport #services #mail users uptime #fan_speed #cpu_temp battery wifi_quality #processes load_average cpu_count cpu_freq memory #swap disk #time_utc date time" + +# Tmux has one status line, with 2 halves for status +tmux_left="logo #distro release arch session" +# You can have as many tmux right lines below here, and cycle through them using Shift-F5 +tmux_right="#network #disk_io #custom entropy raid reboot_required updates_available #apport #services #mail #users uptime #fan_speed #cpu_temp #battery #wifi_quality #processes load_average cpu_count cpu_freq memory #swap disk whoami hostname #ip_address #time_utc date time" +#tmux_right="network #disk_io #custom entropy raid reboot_required updates_available #apport #services #mail users uptime fan_speed cpu_temp battery wifi_quality #processes load_average cpu_count cpu_freq memory #swap #disk whoami hostname ip_address #time_utc date time" +#tmux_right="network #disk_io custom #entropy raid reboot_required updates_available #apport #services #mail users uptime #fan_speed #cpu_temp battery wifi_quality #processes load_average cpu_count cpu_freq memory #swap #disk #whoami #hostname ip_address #time_utc date time" +#tmux_right="#network disk_io #custom entropy #raid #reboot_required #updates_available #apport #services #mail #users #uptime fan_speed cpu_temp #battery #wifi_quality #processes #load_average #cpu_count #cpu_freq #memory #swap whoami hostname ip_address #time_utc disk date time" diff --git a/.byobu/statusrc b/.byobu/statusrc new file mode 100644 index 0000000..472e45c --- /dev/null +++ b/.byobu/statusrc @@ -0,0 +1,78 @@ +# statusrc - Byobu's default status configurations +# +# Override these in $BYOBU_CONFIG_DIR/statusrc +# where BYOBU_CONFIG_DIR is XDG_CONFIG_HOME if defined, +# and $HOME/.byobu otherwise. +# +# Copyright (C) 2009-2011 Canonical Ltd. +# +# Authors: Dustin Kirkland +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# Configurations that you can override; if you leave these commented out, +# Byobu will try to auto-detect them. + +# This should be auto-detected for most distro, but setting it here will save +# some call to lsb_release and the like. +#BYOBU_DISTRO=Ubuntu + +# Default: depends on the distro (which is either auto-detected, either set +# via $DISTRO) +#LOGO="\o/" + +# Abbreviate the release to N characters +# By default, this is disabled. But if you set RELEASE_ABBREVIATED=1 +# and your lsb_release is "precise", only "p" will be displayed +#RELEASE_ABBREVIATED=1 + +# Default: / +#MONITORED_DISK=/ + +# Minimum disk throughput that triggers the notification (in kB/s) +# Default: 50 +#DISK_IO_THRESHOLD=50 + +# Default: eth0 +#MONITORED_NETWORK=eth0 + +# Unit used for network throughput (either bits per second or bytes per second) +# Default: bits +#NETWORK_UNITS=bytes + +# Minimum network throughput that triggers the notification (in kbit/s) +# Default: 20 +#NETWORK_THRESHOLD=20 + +# You can add an additional source of temperature here +#MONITORED_TEMP=/proc/acpi/thermal_zone/THM0/temperature + +# Default: C +#TEMP=F + +#SERVICES="eucalyptus-nc|NC eucalyptus-cloud|CLC eucalyptus-walrus eucalyptus-cc|CC eucalyptus-sc|SC" + +#FAN=$(find /sys -type f -name fan1_input | head -n1) + +# You can set this to 1 to report your external/public ip address +# Default: 0 +#IP_EXTERNAL=0 + +# The users notification normally counts ssh sessions; set this configuration to '1' +# to instead count number of distinct users logged onto the system +# Default: 0 +#USERS_DISTINCT=0 + +# Set this to zero to hide seconds int the time display +# Default 1 +#TIME_SECONDS=0 diff --git a/.byobu/windows b/.byobu/windows new file mode 100644 index 0000000..e69de29 diff --git a/.byobu/windows.tmux b/.byobu/windows.tmux new file mode 100644 index 0000000..e69de29 From 01c95345a35e7405780fcee50509a90af24def9c Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Fri, 12 May 2023 18:55:54 +0200 Subject: [PATCH 3/3] chore(global): regular configuration hellscape for now Signed-off-by: Andrei Jiroh Halili --- .bash_logout | 7 ++++ .bashrc | 6 +-- .byobu/.ssh-agent | 1 - .config/bash/aliases | 35 ++++++++++++++++++ .config/bash/prompt.new | 57 +++++++++++++++++++++++++++++ .config/bash/{prompt => prompt.old} | 0 .env | 3 ++ .gitconfig | 2 +- .profile | 4 ++ 9 files changed, 110 insertions(+), 5 deletions(-) create mode 100644 .bash_logout delete mode 120000 .byobu/.ssh-agent create mode 100644 .config/bash/aliases create mode 100644 .config/bash/prompt.new rename .config/bash/{prompt => prompt.old} (100%) diff --git a/.bash_logout b/.bash_logout new file mode 100644 index 0000000..de4f5f7 --- /dev/null +++ b/.bash_logout @@ -0,0 +1,7 @@ +# ~/.bash_logout: executed by bash(1) when login shell exits. + +# when leaving the console clear the screen to increase privacy + +if [ "$SHLVL" = 1 ]; then + [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q +fi diff --git a/.bashrc b/.bashrc index a5f6cf0..f6d837d 100644 --- a/.bashrc +++ b/.bashrc @@ -10,12 +10,12 @@ ## This stage also initalizes oh-my-posh here. ## if [[ $TERMUX ]]; then export SSH_AGENT_=todo -else +elif command -v keychain >> /dev/null; then + export KEYCHAIN_PATh=$(command -v keychain) eval $(keychain --agents gpg,ssh --eval) fi export GPG_TTY=$(tty) -# Tip: I don't want to f**k things up on POSIX-based stuff, I might try -# using +# TODO: Implement feature flag disabling this. if command -v oh-my-posh >>/dev/null; then eval "$(oh-my-posh init bash)" fi diff --git a/.byobu/.ssh-agent b/.byobu/.ssh-agent deleted file mode 120000 index 68371b5..0000000 --- a/.byobu/.ssh-agent +++ /dev/null @@ -1 +0,0 @@ -/tmp/ssh-XXXXXXCepcGI/agent.135 \ No newline at end of file diff --git a/.config/bash/aliases b/.config/bash/aliases new file mode 100644 index 0000000..219b81d --- /dev/null +++ b/.config/bash/aliases @@ -0,0 +1,35 @@ +# General +alias clear="printf '\033c'" # faster than ncurses clear by a lot +alias c='clear' +alias bashrc="vim ~/.bashrc && source ~/.bashrc" +# LS +alias ls='ls --color=auto -FAh' +alias ll='ls -l' +alias la='ls' +alias l.='ls | egrep "^\."' +alias l=ls +# GREP +alias grep='grep --color=auto' +alias egrep='egrep --color=auto' +alias fgrep='fgrep --color=auto' +# GIT +alias ga='git add' +alias gc='git commit' +alias gp='git push' +alias lc='fc -nl $HISTCMD' +# CADDY +alias rc='caddy reload --config ~/Caddyfile' +alias ft='caddy fmt --overwrite ~/Caddyfile' +alias vt='caddy validate --config ~/Caddyfile' +# Navigation +alias ..='cd ..' +alias ...='cd ../../' +alias ....='cd ../../../' +alias .....='cd ../../../../' +# Readability +alias cp="cp -iv" +alias mv='mv -iv' +alias rm='rm -iv' +alias df='df -h' +alias free='free -m' +alias mkdir='mkdir -pv' diff --git a/.config/bash/prompt.new b/.config/bash/prompt.new new file mode 100644 index 0000000..884b78e --- /dev/null +++ b/.config/bash/prompt.new @@ -0,0 +1,57 @@ +__sig() { + # Giant switch case for getting the name of the signal (`kill -l`) + a=0 + for i in $@; do + a=$((a+1)) + case $i in + 126) printf ACCES ;; + 127) printf NOENT ;; + 129) printf HUP ;; + 130) printf INT ;; + 131) printf QUIT ;; + 132) printf ILL ;; + 133) printf TRAP ;; + 134) printf ABRT ;; + 135) printf BUS ;; + 136) printf FPE ;; + 137) printf KILL ;; + 138) printf USR1 ;; + 139) printf SEGV ;; + 140) printf USR2 ;; + 141) printf PIPE ;; + 142) printf ALRM ;; + 143) printf TERM ;; + 144) printf STKFLT ;; + 145) printf CHLD ;; + 146) printf CONT ;; + 147) printf STOP ;; + 148) printf TSTP ;; + 149) printf TTIN ;; + 150) printf TTOU ;; + 151) printf URG ;; + 152) printf XCPU ;; + 153) printf XFSZ ;; + 154) printf VTALRM ;; + 155) printf PROF ;; + 156) printf WINCH ;; + 157) printf IO ;; + 158) printf PWR ;; + 159) printf SYS ;; + 16[3-9]|1[7-8][0-9]|19[0-2]) printf RT$(($i-128)) ;; # Savagery + *) printf $i ;; # Print exit code if not in list + esac + done +} +sig() { + PLC=(${PIPESTATUS[@]}) + printf "$(__sig ${PLC[@]})" +} +NO_COLOUR="\[\033[0m\]" +# Bold Colours +RED="\[\033[01;31m\]" +GREEN="\[\033[01;32m\]" +YELLOW="\[\033[01;33m\]" +BLUE="\[\033[01;34m\]" + +PS1="[${RED}\$(sig)${NO_COLOUR}] [\t] [${RED}\u${NO_COLOUR}@${GREEN}\h${NO_COLOUR}|${BLUE}\w${NO_COLOUR}] [${YELLOW}#\#${NO_COLOUR}] ${GREEN}\$ ${NO_COLOUR}" + diff --git a/.config/bash/prompt b/.config/bash/prompt.old similarity index 100% rename from .config/bash/prompt rename to .config/bash/prompt.old diff --git a/.env b/.env index aae2c07..fe99942 100644 --- a/.env +++ b/.env @@ -43,3 +43,6 @@ then export SAMUFLAGS="-j$nproc" fi ########################################################################################## + +# import aliases to shell too +. "$HOME/.config/bash/aliases" diff --git a/.gitconfig b/.gitconfig index 075b76d..b0fb6b7 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,6 +1,6 @@ [user] name = Andrei Jiroh Halili - email = ajhalili2006@gmail.com + email = ajhalili2006@andreijiroh.eu.org signingkey = 67BFC91B3DA12BE8 [commit] diff --git a/.profile b/.profile index 7d63a58..874fc9b 100644 --- a/.profile +++ b/.profile @@ -15,6 +15,10 @@ source "$HOME/.env" source "$HOME/.config/aliases" export POSIX_PROFILE_SOURCED=true +# how about detecting local configs +if [ ! -f "$HOME/.config/localconfig.env" ]; then + . "$HOME/.config/localconfig.env" +fi # Added by Toolbox App export PATH="$PATH:/home/ajhalili2006/.local/share/JetBrains/Toolbox/scripts"