save
This commit is contained in:
4
zsh/.local/share/vxclutch/bash/aliases
Normal file
4
zsh/.local/share/vxclutch/bash/aliases
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
alias ls='ls --color=auto'
|
||||||
|
alias ll='ls -lah'
|
||||||
|
alias gg='lazygit'
|
||||||
|
alias v='nvim'
|
||||||
2
zsh/.local/share/vxclutch/bash/envs
Normal file
2
zsh/.local/share/vxclutch/bash/envs
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
export EDITOR=nvim
|
||||||
|
export SUDO_EDITOR="$EDITOR"
|
||||||
4
zsh/.local/share/vxclutch/bash/functions
Normal file
4
zsh/.local/share/vxclutch/bash/functions
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
take() {
|
||||||
|
mkdir $1;
|
||||||
|
cd $1
|
||||||
|
}
|
||||||
7
zsh/.local/share/vxclutch/bash/init
Normal file
7
zsh/.local/share/vxclutch/bash/init
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
if command -v starship &> /dev/null; then
|
||||||
|
eval "$(starship init zsh)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if command -v brew &> /dev/null; then
|
||||||
|
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||||
|
fi
|
||||||
1
zsh/.local/share/vxclutch/bash/inputrc
Normal file
1
zsh/.local/share/vxclutch/bash/inputrc
Normal file
@@ -0,0 +1 @@
|
|||||||
|
bindkey -e
|
||||||
6
zsh/.local/share/vxclutch/bash/plugins
Normal file
6
zsh/.local/share/vxclutch/bash/plugins
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
[ -f "${XDG_DATA_HOME:-$HOME/.local/share}/zap/zap.zsh" ] && source "${XDG_DATA_HOME:-$HOME/.local/share}/zap/zap.zsh"
|
||||||
|
plug "zsh-users/zsh-autosuggestions"
|
||||||
|
plug "zap-zsh/supercharge"
|
||||||
|
plug "zsh-users/zsh-syntax-highlighting"
|
||||||
|
plug "zap-zsh/sudo"
|
||||||
|
plug "Aloxaf/fzf-tab"
|
||||||
4
zsh/.local/share/vxclutch/bash/rc
Normal file
4
zsh/.local/share/vxclutch/bash/rc
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
autoload -Uz compinit
|
||||||
|
compinit
|
||||||
|
|
||||||
|
if [ "$TMUX" = "" ]; then tmux; fi
|
||||||
2
zsh/.local/share/vxclutch/bash/shell
Normal file
2
zsh/.local/share/vxclutch/bash/shell
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
export PATH=$HOME/.local/bin:$PATH
|
||||||
|
export PATH=$HOME/opt/bin:$PATH
|
||||||
57
zsh/.zshrc
57
zsh/.zshrc
@@ -1,51 +1,8 @@
|
|||||||
bindkey -e
|
source ~/.local/share/vxclutch/bash/aliases
|
||||||
|
source ~/.local/share/vxclutch/bash/envs
|
||||||
|
source ~/.local/share/vxclutch/bash/functions
|
||||||
|
source ~/.local/share/vxclutch/bash/init
|
||||||
|
source ~/.local/share/vxclutch/bash/shell
|
||||||
|
source ~/.local/share/vxclutch/bash/plugins
|
||||||
|
|
||||||
export EDITOR=nvim
|
source ~/.local/share/vxclutch/bash/rc
|
||||||
export SUDO_EDITOR=nvim
|
|
||||||
export VISUAL=nvim
|
|
||||||
export TERM="xterm-256color"
|
|
||||||
export COLORTERM=truecolor
|
|
||||||
|
|
||||||
export XDG_CONFIG_HOME="$HOME/.config"
|
|
||||||
export PATH=$HOME/.local/bin:$PATH
|
|
||||||
|
|
||||||
export DO="$HOME/do"
|
|
||||||
|
|
||||||
alias ls='ls --color=auto'
|
|
||||||
alias ll='ls -lah'
|
|
||||||
alias gg='lazygit'
|
|
||||||
alias v='nvim'
|
|
||||||
|
|
||||||
take() {
|
|
||||||
mkdir $1;
|
|
||||||
cd $1
|
|
||||||
}
|
|
||||||
|
|
||||||
function show_todo_in_git_repo() {
|
|
||||||
if git rev-parse --is-inside-work-tree &>/dev/null; then
|
|
||||||
[ -f TODO ] && clear && cat TODO
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
autoload -Uz add-zsh-hook
|
|
||||||
add-zsh-hook chpwd show_todo_in_git_repo
|
|
||||||
show_todo_in_git_repo
|
|
||||||
|
|
||||||
[ -f "${XDG_DATA_HOME:-$HOME/.local/share}/zap/zap.zsh" ] && source "${XDG_DATA_HOME:-$HOME/.local/share}/zap/zap.zsh"
|
|
||||||
plug "zsh-users/zsh-autosuggestions"
|
|
||||||
plug "zap-zsh/supercharge"
|
|
||||||
plug "zsh-users/zsh-syntax-highlighting"
|
|
||||||
plug "zap-zsh/sudo"
|
|
||||||
plug "Aloxaf/fzf-tab"
|
|
||||||
|
|
||||||
autoload -Uz compinit
|
|
||||||
compinit
|
|
||||||
|
|
||||||
eval "$(starship init zsh)"
|
|
||||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
|
||||||
|
|
||||||
if [ "$TMUX" = "" ]; then tmux; fi
|
|
||||||
|
|
||||||
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
|
|
||||||
export SDKMAN_DIR="$HOME/.sdkman"
|
|
||||||
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user