Move all exported env variables in the profile scripts

This commit is contained in:
Fabio Scotto di Santolo
2025-07-07 21:28:43 +02:00
parent 4007ef2333
commit 8e57686f73
6 changed files with 13 additions and 10 deletions

View File

@@ -0,0 +1,3 @@
#/usr/bin/env bash
export DOTFILES="$HOME/.dotfiles"

View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
export EDITOR=vim

View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
export HOMEBREW_NO_ENV_HINTS=1

View File

@@ -0,0 +1,3 @@
#/usr/bin/env bash
export VIRTUAL_ENV_DISABLE_PROMPT=1

View File

@@ -16,9 +16,6 @@ is_debian_based() {
} }
alias ls="eza --color=always --group-directories-first --icons" alias ls="eza --color=always --group-directories-first --icons"
alias ll="eza -l --color=always --group-directories-first --icons"
alias la="eza -a --color=always --group-directories-first --icons"
alias lt="eza -aT --color=always --group-directories-first --icons"
# Replace some more things with better alternatives # Replace some more things with better alternatives
if is_debian_based; then if is_debian_based; then
@@ -37,11 +34,8 @@ alias fgrep='ugrep -F --color=auto'
# Other aliases # Other aliases
alias paths='echo -e ${PATH//:/\\n}' # path: Echo all executable Paths alias paths='echo -e ${PATH//:/\\n}' # path: Echo all executable Paths
alias du='du -h'
alias userlist="cut -d: -f1 /etc/passwd | sort" alias userlist="cut -d: -f1 /etc/passwd | sort"
alias ip='ip -color' alias ip='ip -color'
alias pbcopy='xsel --clipboard --input' alias pbcopy='xsel --clipboard --input'
alias pbpaste='xsel --clipboard --output' alias pbpaste='xsel --clipboard --output'
alias stow='stow --dotfiles -d ~/.dotfiles ' alias stow='stow -d $DOTFILES '
alias openport='netstat -nape --inet'
alias kssh='kitty +kitten ssh'

View File

@@ -10,6 +10,3 @@ if command -v starship > /dev/null 2>&1; then
eval "$(starship init zsh)" eval "$(starship init zsh)"
fi fi
export VIRTUAL_ENV_DISABLE_PROMPT=1
export EDITOR=nvim
export HOMEBREW_NO_ENV_HINTS=1