Move all exported env variables in the profile scripts
This commit is contained in:
3
profile/.profile.d/dotfiles.sh
Normal file
3
profile/.profile.d/dotfiles.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#/usr/bin/env bash
|
||||||
|
|
||||||
|
export DOTFILES="$HOME/.dotfiles"
|
||||||
3
profile/.profile.d/editor.sh
Normal file
3
profile/.profile.d/editor.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
export EDITOR=vim
|
||||||
3
profile/.profile.d/homebrew.sh
Normal file
3
profile/.profile.d/homebrew.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
export HOMEBREW_NO_ENV_HINTS=1
|
||||||
3
profile/.profile.d/venv.sh
Normal file
3
profile/.profile.d/venv.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#/usr/bin/env bash
|
||||||
|
|
||||||
|
export VIRTUAL_ENV_DISABLE_PROMPT=1
|
||||||
@@ -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'
|
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user