updated .zshrc + file rename
* moved stuff to dotenv for sourcing * deleted redundant informational stuff * overall refactored the config (a little)
This commit is contained in:
parent
0b13cb0f9c
commit
4758e95287
@ -1,5 +1,4 @@
|
||||
# If you come from bash you might have to change your $PATH.
|
||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||
source ~/.zplug/init.zsh
|
||||
zplug "denysdovhan/spaceship-prompt", use:spaceship.zsh, from:github, as:theme
|
||||
zplug "zsh-users/zsh-autosuggestions"
|
||||
@ -49,17 +48,7 @@
|
||||
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH=$HOME/.oh-my-zsh
|
||||
|
||||
# Set name of the theme to load. Optionally, if you set this to "random"
|
||||
# it'll load a random theme each time that oh-my-zsh is loaded.
|
||||
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
|
||||
#ZSH_THEME="myowntheme_with_time"
|
||||
|
||||
# Set list of themes to load
|
||||
# Setting this variable when ZSH_THEME=random
|
||||
# cause zsh load theme from this variable instead of
|
||||
# looking in ~/.oh-my-zsh/themes/
|
||||
# An empty array have no effect
|
||||
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
|
||||
|
||||
# Uncomment the following line to use case-sensitive completion.
|
||||
@ -108,16 +97,7 @@
|
||||
# Would you like to use another custom folder than $ZSH/custom?
|
||||
# ZSH_CUSTOM=/path/to/new-custom-folder
|
||||
|
||||
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
||||
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||
# Add wisely, as too many plugins slow down shell startup.
|
||||
plugins=(
|
||||
safe-paste
|
||||
docker
|
||||
yarn
|
||||
fzf
|
||||
)
|
||||
plugins=(safe-paste docker yarn fzf)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor)
|
||||
@ -139,7 +119,6 @@
|
||||
export FZF_DEFAULT_COMMAND="fzf --preview 'head -100 {}'"
|
||||
|
||||
# User configuration
|
||||
# export MANPATH="/usr/local/man:$MANPATH"
|
||||
export PATH="$HOME/.local/bin:$HOME/utils/bin:$HOME/.cargo/bin:$PATH"
|
||||
|
||||
# You may need to manually set your language environment
|
||||
@ -155,18 +134,14 @@
|
||||
|
||||
export EDITOR='vim'
|
||||
export TERM='xterm-256color'
|
||||
|
||||
# Compilation flags
|
||||
# export ARCHFLAGS="-arch x86_64"
|
||||
|
||||
# ssh
|
||||
# export SSH_KEY_PATH="~/.ssh/rsa_id"
|
||||
export kee="surtur"
|
||||
export SSH_KEY_PATH="~/.ssh/$kee"
|
||||
|
||||
source ~/.dotenv
|
||||
eval $(TERM=xterm-256color dircolors)
|
||||
alias ls='ls --color=auto'
|
||||
alias ls='exa'
|
||||
|
||||
alias grubup='sudo grub2-mkconfig -o /boot/grub2/grub.cfg'
|
||||
alias am='sudo -i'
|
||||
alias mv='mv -i'
|
||||
@ -181,14 +156,12 @@
|
||||
alias neofetch='neofetch --disable "theme" "icons" packages de hostname cpu gpu resolution title'
|
||||
#alias reth='sudo ethtool -r enp0s25' # ; ip link set enp0s25 down; ip link set enp0s25 up '
|
||||
#alias rwlan='ip link set wlp3s0 down; ip link set wlp3s0 up'
|
||||
|
||||
alias wget='wget -c' # allows to restore progress after interruption
|
||||
if [[ -z "$WAYLAND_DISPLAY" ]]; then alias vim='vimx';alias v='vimx'; else alias v='vim'; fi # life's too short to type "vim" every time in full
|
||||
alias vimrc='vim ~/.vim/vimrc'
|
||||
alias zshconfig="vim ~/.zshrc"
|
||||
alias zshist="vim ~/.zsh_history"
|
||||
alias alltheconfigs='alltheconfigs.sh'
|
||||
export kee="surtur"
|
||||
alias agentssh="ssh-agent -s && ssh-add ~/.ssh/$kee" # add development key on demand
|
||||
alias rsync-copy='rsync -avz --progress -h'
|
||||
alias rsync-move='rsync -avz --progress -h --remove-source-files'
|
||||
@ -198,15 +171,12 @@
|
||||
alias wolm='wol d4:3d:7e:53:c2:b1'
|
||||
alias ta='tmux a -t0'
|
||||
|
||||
alias tprconfig="/usr/bin/git --git-dir=$utb/3semester/TPR/tasks-wip --work-tree=$utb/3semester/TPR/"
|
||||
|
||||
export ANDROID_HOME=$HOME/utils/Android/Sdk
|
||||
export PATH=$PATH:$ANDROID_HOME/tools
|
||||
export PATH=$PATH:$ANDROID_HOME/platform-tools
|
||||
export ANDROID_SDK_ROOT=$ANDROID_HOME
|
||||
export ANDROID_SDK_PATH=$ANDROID_HOME
|
||||
export ANDROID_NDK_PATH=$ANDROID_HOME/ndk-bundle
|
||||
|
||||
export WORKON_HOME=~/utils/venv
|
||||
#source utils/venv/bin/activate
|
||||
export PIP_VIRTUALENV_BASE=~/utils/venv
|
Loading…
Reference in New Issue
Block a user