From a49075e01cfdc7225591ae55b5696e8ac2bb7e18 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Wed, 7 Jun 2023 08:59:54 -0600 Subject: export gpg tty --- .config/shell/profile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.config/shell/profile b/.config/shell/profile index 0539ba1..071a8ba 100644 --- a/.config/shell/profile +++ b/.config/shell/profile @@ -1,16 +1,15 @@ #!/bin/sh -# read personal programs export PATH="$PATH:$(du -L "$HOME/.local/bin/" | cut -f2 | tr '\n' ':' | sed 's/:*$//')" -# default programs + +# use neovim if available if command -v nvim &> /dev/null; then export EDITOR="nvim" elif command -v vim &> /dev/null; then export EDITOR="vim" fi -# ~/ cleanup - # XDG base directory specification found in: - # https://wiki.archlinux.org/index.php/XDG_Base_Directory +# $HOME cleanup +# https://wiki.archlinux.org/index.php/XDG_Base_Directory export XDG_CONFIG_HOME="$HOME/.config" export XDG_CACHE_HOME="$HOME/.cache" export XDG_DATA_HOME="$HOME/.local/share" @@ -18,12 +17,13 @@ export XDG_STATE_HOME="$HOME/.local/state" export LESSHISTFILE="-" export HISTFILE="$XDG_STATE_HOME/bash/history" export WGETRC="$XDG_CONFIG_HOME/wgetrc" - # Golang specific +# Golang export GOBIN="$HOME/.local/bin/go" export GOPATH="$XDG_DATA_HOME/go" export GOMODCACHE="$XDG_CACHE_HOME/go/mod" -# read go programs export PATH="$PATH:$GOBIN:$GOPATH/bin" +# GPG +export GPG_TTY=$(tty) # less export LESS=-R if command -v source-highlight &> /dev/null; then -- cgit v1.2.3-54-g00ecf