summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bash/bash_aliases3
-rw-r--r--bash/bashrc12
-rw-r--r--windows/powershell/Microsoft.PowerShell_profile.ps1 (renamed from powershell/Microsoft.PowerShell_profile.ps1)0
3 files changed, 13 insertions, 2 deletions
diff --git a/bash/bash_aliases b/bash/bash_aliases
index b3dcf78..899f80f 100644
--- a/bash/bash_aliases
+++ b/bash/bash_aliases
@@ -26,10 +26,11 @@ alias diff='diff --color=always'
alias dir='dir --color=auto'
alias grep='grep --color=auto -i' # color case-insensitive
# Sort files by ASCII value (override current locale)
-alias ls='LC_ALL=C ls --color=auto --group-directories-first --classify'
+alias ls='ls --color=auto --group-directories-first --classify'
alias la='ls -A'
alias ll='ls -l -h'
alias lla='ll -A'
+alias ip='ip --color=auto'
alias gcc='gcc -g -std=c99 -lm'
alias ed='ed -p "* "'
diff --git a/bash/bashrc b/bash/bashrc
index d3216d2..7f0abff 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -7,6 +7,17 @@
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
+# TROUBLESHOOTING
+# ===============
+
+export EDITOR=nvim
+export VISUAL=nvim
+export TERM=xterm-256color # Required for AWS VPS work good when SSHing
+
+# https://wiki.archlinux.org/title/GnuPG#Configure_pinentry_to_use_the_correct_TTY
+export GPG_TTY=$(tty)
+gpg-connect-agent updatestartuptty /bye >/dev/null
+
# Bash configuration
# ==================
@@ -37,7 +48,6 @@ shopt -s checkwinsize
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
# Alias definitions.
-export EDITOR=nvim
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
diff --git a/powershell/Microsoft.PowerShell_profile.ps1 b/windows/powershell/Microsoft.PowerShell_profile.ps1
index fc55bac..fc55bac 100644
--- a/powershell/Microsoft.PowerShell_profile.ps1
+++ b/windows/powershell/Microsoft.PowerShell_profile.ps1