Changed folder structure for little tools
This commit is contained in:
44
zsh/.zshrc
44
zsh/.zshrc
@@ -1,26 +1,5 @@
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH=~/.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="powerlevel9k/powerlevel9k"
|
||||
|
||||
# Uncomment the following line to disable auto-setting terminal title.
|
||||
DISABLE_AUTO_TITLE="true"
|
||||
|
||||
# Uncomment the following line if you want to change the command execution time
|
||||
# stamp shown in the history command output.
|
||||
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
||||
HIST_STAMPS="yyyy.mm.dd"
|
||||
|
||||
# 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=(
|
||||
git
|
||||
history
|
||||
@@ -29,10 +8,10 @@ plugins=(
|
||||
web-search
|
||||
)
|
||||
|
||||
# User configuration
|
||||
ZSH_THEME="powerlevel9k/powerlevel9k"
|
||||
HIST_STAMPS="yyyy.mm.dd"
|
||||
|
||||
#POWERLEVEL
|
||||
|
||||
POWERLEVEL9K_MODE='awesome-fontconfig'
|
||||
|
||||
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(os_icon dir vcs)
|
||||
@@ -43,29 +22,26 @@ POWERLEVEL9K_STATUS_OK_FOREGROUND="orange"
|
||||
POWERLEVEL9K_STATUS_ERROR_BACKGROUND="blue"
|
||||
POWERLEVEL9K_STATUS_ERROR_FOREGROUND="red"
|
||||
|
||||
#POWERLEVEL9K_BATTERY_BACKGROUND="color6"
|
||||
#POWERLEVEL9K_BATTERY_DISCONNECTED="color6"
|
||||
#POWERLEVEL9K_BATTERY_STAGES="▁▂▃▄▅▆▇█"
|
||||
|
||||
POWERLEVEL9K_TIME_BACKGROUND="black"
|
||||
POWERLEVEL9K_TIME_FOREGROUND="color7"
|
||||
POWERLEVEL9K_TIME_FORMAT="%D{%H:%M:%S} "
|
||||
|
||||
# PATHS
|
||||
export TERM="xterm-256color" # in case you are using urxvt, to bypass an error during sshing
|
||||
PATH=$PATH:~/.local/bin
|
||||
|
||||
# User alias
|
||||
# Alias
|
||||
alias df="df -h"
|
||||
alias mkvirtenv="python -m virtualenv --system-site-packages"
|
||||
alias e="emacsclient -t"
|
||||
alias nyan="nyancat"
|
||||
alias rm="rm -i"
|
||||
alias -s tex=emacs
|
||||
alias -s cpp=emacs
|
||||
alias -s tex=e
|
||||
alias -s cpp=e
|
||||
alias org="e ~/Nextcloud/orgs/man.org"
|
||||
alias neofetch="neofetch --block_range 0 16"
|
||||
alias diff="diff -s"
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# Variables
|
||||
export TERM="xterm-256color" # in case you are using urxvt, to bypass an error during sshing
|
||||
export GPG_TTY=$(tty)
|
||||
export LC_ALL=en_GB.UTF-8
|
||||
PATH=$PATH:~/.local/bin
|
||||
|
||||
Reference in New Issue
Block a user