Remove zsh

This commit is contained in:
Alice Gaudon 2021-12-28 15:12:40 +01:00
parent 8d1e163989
commit 6795b22833
4 changed files with 0 additions and 1274 deletions

1180
.p10k.zsh

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +0,0 @@
#export XDG_CURRENT_DESKTOP=kde
if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec startx
fi

View File

@ -1,13 +0,0 @@
#compdef journal
__systemctl () {
systemctl $_sys_service_mgr --full --no-legend --no-pager "$@" 2> /dev/null
}
(( $+functions[_journal_units] )) || _systemctl_get_non_template_names () {
echo -E - ${^${(R)${(f)"$(
__systemctl $mode list-unit-files "$PREFIX*"
__systemctl $mode list-units --all "$PREFIX*"
)"}:#*@.*}%%[[:space:]]*}
}
_wanted systemd-units expl unit compadd "$@" - $(_systemctl_get_non_template_names)

76
.zshrc
View File

@ -1,76 +0,0 @@
# arisu's zsh config
# Oh my zsh
export ZSH="$HOME/.oh-my-zsh"
plugins=(git)
COMPLETION_WAITING_DOTS="true"
ZSH_THEME="powerlevel10k/powerlevel10k" # `p10k configure`
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
source $ZSH/oh-my-zsh.sh
# LANG
export LANG=en_US.UTF-8
# Auto completion
fpath=(~/.zsh/functions $fpath)
autoload -U compinit
zstyle ':completion:*' menu select
zstyle ':completion:*' special-dirs false
zmodload zsh/complist
compinit
_comp_options+=(globdots)
# PATH
export PATH="$PATH:$(ruby -e 'puts Gem.user_dir')/bin" # Ruby
export PATH="$PATH:$HOME/.composer/vendor/bin" # Composer
export PATH="$HOME/dev/android/platform-tools:$HOME/dev/android/bin:$PATH" # Android platform tools
export PATH="$PATH:$HOME/.rvm/bin" # Ruby rvm
# Editor
export EDITOR=micro
VISUAL=$EDITOR
## Aliases ##
setopt complete_aliases
alias dotgit='git --git-dir=$HOME/dotfiles/ --work-tree=$HOME'
compdef dotgit='git'
alias authy="/usr/bin/electron4 --app /usr/lib/authy/app.asar"
alias syslog="sudo journalctl -f | ccze -A"
journal() {
sudo journalctl -f -u $1 | ccze -A
}
alias nano=micro
# Random chars
rndanchars() {
openssl rand -base64 $1 | sed ':a;N;$!ba;s/\n//g' | sed 's/[+\/=]//g' | head -c $1
}
# FFMPEG
convert-tomov() {
ffmpeg -i "$1" -c:v dnxhd -c:a pcm_s24le -profile:v dnxhr_hq "$2"
}
convert-tomp4() {
ffmpeg -i "$1" -c:v libx264 -pix_fmt yuv420p -profile:v high -movflags faststart -c:a aac -ar 48000 -b:a 384000 "$2"
}
convert-todavinci() {
ffmpeg -i "$1" -map 0:v -map "0:a?" -c:v mpeg4 -qscale:v 1 -c:a pcm_s24le "$1.davinci.mov"
}
# Syntax highlighting (should be last)
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh