Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Lines configured by zsh-newuser-install
- HISTFILE=~/.histfile
- HISTSIZE=1000
- SAVEHIST=1000
- bindkey -e
- # End of lines configured by zsh-newuser-install
- # The following lines were added by compinstall
- zstyle :compinstall filename '/home/fabio/.zshrc'
- autoload -Uz compinit
- fpath+=~/.local/share/zsh-completion/completions
- compinit
- # End of lines added by compinstall
- autoload -U promptinit
- promptinit
- # prompt gentoo
- PROMPT="%F{cyan}%2~%f %F{green}%%%f "
- # PROMPT="%F{240}%2~%f %F{black}%%%f "
- stty -ixon
- # [ -n "$XTERM_VERSION" ] && transset -t --id "$WINDOWID" >/dev/null
- if [[ "${TERM}" != "" && "${TERM}" == "alacritty" ]]
- then
- precmd()
- {
- # output on which level (%L) this shell is running on.
- # append the current directory (%~), substitute home directories with a tilde.
- # "\a" bell (man 1 echo)
- # "print" must be used here; echo cannot handle prompt expansions (%L)
- # print -Pn "\e]0;$(id --user --name)@$(hostname): zsh[%L] %~\a"
- print -Pn "\e]0;$(id --user --name):%~\a"
- }
- preexec()
- {
- # output current executed command with parameters
- echo -en "\e]0;$(id --user --name)@$(hostname): ${1}\a"
- }
- fi
- [ -n "$EAT_SHELL_INTEGRATION_DIR" ] && \
- source "$EAT_SHELL_INTEGRATION_DIR/zsh"
- export PATH="$HOME/.emacs.d/bin:$PATH"
- export PATH="$HOME/.local/share/applications:$PATH"
- . "$HOME/.cargo/env"
- alias ls="ls --color"
- alias vi="vim"
- alias sudo="sudo "
- alias emc="emacsclient --socket-name=/tmp/emacs1000/server -c"
- # eval "$(zellij setup --generate-auto-start zsh)"
- export EDITOR="emacsclient --socket-name=/tmp/emacs1000/server -t -a ''"
- export VISUAL="emacsclient --socket-name=/tmp/emacs1000/server -c -a ''"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement