2022-04-03 04:34:05 +02:00
|
|
|
# Path to your oh-my-zsh configuration.
|
|
|
|
ZSH=$HOME/.ohmyzsh
|
|
|
|
|
|
|
|
# Set name of the theme to load.
|
|
|
|
# Look in ~/.oh-my-zsh/themes/
|
|
|
|
# Optionally, if you set this to "random", it'll load a random theme each
|
|
|
|
# time that oh-my-zsh is loaded.
|
|
|
|
if [ $(hostname) = "maya" ]
|
|
|
|
then
|
|
|
|
ZSH_THEME="terminalparty"
|
|
|
|
elif [ $(hostname) = "symposion" ]
|
|
|
|
then
|
|
|
|
ZSH_THEME="af-magic"
|
|
|
|
else
|
|
|
|
ZSH_THEME="norm"
|
|
|
|
fi
|
|
|
|
|
|
|
|
alias v="vim"
|
|
|
|
alias vi="vim"
|
|
|
|
alias felixio="ssh felixio@felixm.de"
|
|
|
|
alias failx="ssh felixio@felixm.de"
|
|
|
|
alias feh="feh -F -."
|
|
|
|
alias fcd='cd "$(fd -t d | fzf)"'
|
2022-08-27 16:38:14 +02:00
|
|
|
alias yt-mp3='yt-dlp --extract-audio --audio-format mp3 '
|
2022-04-10 05:15:19 +02:00
|
|
|
alias private-session='export SAVEHIST=0 && export HISTSIZE=0'
|
2023-05-27 19:10:48 +02:00
|
|
|
alias icat="kitty +kitten icat"
|
2022-04-03 04:34:05 +02:00
|
|
|
|
2022-08-27 16:38:14 +02:00
|
|
|
# votion
|
|
|
|
alias vt="vim -c RgVotionTitle"
|
|
|
|
alias vn="vim -c \":call votion#votion#Note()\""
|
|
|
|
alias vj="vim -c \":call votion#votion#Journal()\""
|
|
|
|
|
2022-04-03 04:34:05 +02:00
|
|
|
# Set to this to use case-sensitive completion
|
|
|
|
# CASE_SENSITIVE="true"
|
|
|
|
|
|
|
|
# Comment this out to disable bi-weekly auto-update checks
|
|
|
|
DISABLE_AUTO_UPDATE="true"
|
|
|
|
|
|
|
|
# Uncomment to change how often before auto-updates occur? (in days)
|
|
|
|
# export UPDATE_ZSH_DAYS=13
|
|
|
|
|
|
|
|
# Uncomment following line if you want to disable colors in ls
|
|
|
|
# DISABLE_LS_COLORS="true"
|
|
|
|
|
|
|
|
# Uncomment following line if you want to disable autosetting terminal title.
|
|
|
|
# DISABLE_AUTO_TITLE="true"
|
|
|
|
|
|
|
|
# Uncomment following line if you want to disable command autocorrection
|
|
|
|
#DISABLE_CORRECTION="true"
|
|
|
|
#unsetopt correct_all
|
|
|
|
|
|
|
|
# Uncomment following line if you want red dots to be displayed while waiting for completion
|
|
|
|
# COMPLETION_WAITING_DOTS="true"
|
|
|
|
|
|
|
|
# Uncomment following line if you want to disable marking untracked files under
|
|
|
|
# VCS as dirty. This makes repository status check for large repositories much,
|
|
|
|
# much faster.
|
|
|
|
# DISABLE_UNTRACKED_FILES_DIRTY="true"
|
|
|
|
|
|
|
|
# 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)
|
|
|
|
plugins=(git vi-mode fzf extract)
|
|
|
|
|
|
|
|
source $ZSH/oh-my-zsh.sh
|
|
|
|
|
|
|
|
# Customize to your needs...
|
|
|
|
export EDITOR=/usr/bin/vim
|
2023-04-15 20:17:12 +02:00
|
|
|
export TERM="xterm-256color" # required for st to work properly in some situations
|
2022-04-03 04:34:05 +02:00
|
|
|
|
|
|
|
# add to path
|
|
|
|
if [[ $USER == "felixm" ]]
|
|
|
|
then
|
|
|
|
typeset -U path
|
2022-04-10 05:15:19 +02:00
|
|
|
path=($path /home/felixm/dot/bin)
|
2022-04-03 04:34:05 +02:00
|
|
|
fi
|
|
|
|
|