|
|
@ -8,6 +8,13 @@ fi
|
|
|
|
export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock
|
|
|
|
export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock
|
|
|
|
ssh-add -l > /dev/null || ssh-add ~/.ssh/id_ed25519
|
|
|
|
ssh-add -l > /dev/null || ssh-add ~/.ssh/id_ed25519
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Path to your oh-my-zsh installation.
|
|
|
|
|
|
|
|
# export ZSH="$HOME/.oh-my-zsh"
|
|
|
|
|
|
|
|
export ZSH="$HOME/.local/share/oh-my-zsh"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Would you like to use another custom folder than $ZSH/custom?
|
|
|
|
|
|
|
|
export ZSH_CUSTOM="$HOME/.local/share/omz-custom/custom"
|
|
|
|
|
|
|
|
# export ZSH_CUSTOM=$HOME/.local/share/omz-custom
|
|
|
|
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
|
|
|
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
|
|
|
# Initialization code that may require console input (password prompts, [y/n]
|
|
|
|
# Initialization code that may require console input (password prompts, [y/n]
|
|
|
|
# confirmations, etc.) must go above this block; everything else may go below.
|
|
|
|
# confirmations, etc.) must go above this block; everything else may go below.
|
|
|
@ -21,12 +28,18 @@ fi
|
|
|
|
# fixing gopath and binaries
|
|
|
|
# fixing gopath and binaries
|
|
|
|
export GOPATH="$HOME/.local/share/go"
|
|
|
|
export GOPATH="$HOME/.local/share/go"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# moving cargo cache dir
|
|
|
|
|
|
|
|
export CARGO_HOME="$HOME/.local/share/cargo"
|
|
|
|
|
|
|
|
export RUSTUP_HOME="$HOME/.local/sare/rustup"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Path to your oh-my-zsh installation.
|
|
|
|
# Path to your oh-my-zsh installation.
|
|
|
|
export ZSH="$HOME/.oh-my-zsh"
|
|
|
|
# export ZSH="$HOME/.oh-my-zsh"
|
|
|
|
|
|
|
|
export ZSH="$HOME/.local/share/oh-my-zsh"
|
|
|
|
|
|
|
|
|
|
|
|
# Would you like to use another custom folder than $ZSH/custom?
|
|
|
|
# Would you like to use another custom folder than $ZSH/custom?
|
|
|
|
export ZSH_CUSTOM=$HOME/.local/share/oh-my-zsh/custom
|
|
|
|
export ZSH_CUSTOM="$HOME/.local/share/omz-custom/custom"
|
|
|
|
|
|
|
|
# export ZSH_CUSTOM=$HOME/.local/share/omz-custom
|
|
|
|
|
|
|
|
|
|
|
|
# ZSH theme
|
|
|
|
# ZSH theme
|
|
|
|
ZSH_THEME="powerlevel10k/powerlevel10k"
|
|
|
|
ZSH_THEME="powerlevel10k/powerlevel10k"
|
|
|
@ -71,7 +84,7 @@ bindkey -v
|
|
|
|
# if [[ -n $SSH_CONNECTION ]]; then
|
|
|
|
# if [[ -n $SSH_CONNECTION ]]; then
|
|
|
|
# export EDITOR='vim'
|
|
|
|
# export EDITOR='vim'
|
|
|
|
# else
|
|
|
|
# else
|
|
|
|
# export EDITOR='mvim'
|
|
|
|
# export EDITOR='nvim'
|
|
|
|
# fi
|
|
|
|
# fi
|
|
|
|
|
|
|
|
|
|
|
|
# Compilation flags
|
|
|
|
# Compilation flags
|
|
|
@ -82,18 +95,20 @@ bindkey -v
|
|
|
|
alias vim="nvim"
|
|
|
|
alias vim="nvim"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# helpful aliasis
|
|
|
|
|
|
|
|
#alias ifconfig="/sbin/ifconfig"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# bb ip remove work related
|
|
|
|
# bb ip remove work related
|
|
|
|
alias bbrm='ssh-keygen -f "/home/kdeppe/.ssh/known_hosts" -R "192.168.7.2"'
|
|
|
|
alias bbrm='ssh-keygen -f "/home/kdeppe/.ssh/known_hosts" -R "192.168.7.2"'
|
|
|
|
|
|
|
|
|
|
|
|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
|
|
|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
|
|
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
|
|
|
export POWERLEVEL9K_CONFIG_FILE="$HOME/.config/zsh/.p10k.sh"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[ ! -f "$POWERLEVEL9K_CONFIG_FILE" ]] || source "$POWERLEVEL9K_CONFIG_FILE"
|
|
|
|
|
|
|
|
|
|
|
|
# home and clear
|
|
|
|
# home and clear
|
|
|
|
alias c="cd && clear"
|
|
|
|
alias c="cd && clear"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# colorize ls
|
|
|
|
|
|
|
|
alias ls="ls --color=auto"
|
|
|
|
|
|
|
|
|
|
|
|
# water tracking alias
|
|
|
|
# water tracking alias
|
|
|
|
alias nalgene="water 32"
|
|
|
|
alias nalgene="water 32"
|
|
|
|
alias tt="timetracker"
|
|
|
|
alias tt="timetracker"
|
|
|
|