1
0
mirror of https://github.com/balkian/dotfiles.git synced 2025-08-24 00:02:19 +00:00

multiple changes

This commit is contained in:
J. Fernando Sánchez
2020-12-28 12:54:24 +01:00
parent 1f613497fb
commit e813bc26e6
12 changed files with 1648 additions and 44 deletions

1550
zsh/.p10k.zsh Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -116,7 +116,8 @@ zstyle ':prezto:module:pacman' frontend 'yaourt'
# Set the prompt theme to load.
# Setting it to 'random' loads a random theme.
# Auto set to 'off' on dumb terminals.
zstyle ':prezto:module:prompt' theme 'balkian'
#zstyle ':prezto:module:prompt' theme 'balkian'
zstyle :prezto:module:prompt theme powerlevel10k
#
# Ruby

View File

@@ -14,11 +14,11 @@ fi
#
export EDITOR='vim'
export VISUAL="myemacs -c"
export VISUAL="$(command -v myemacs) -t"
export ALTERNATE_EDITOR=""
export PAGER='less'
export TERMCMD='i3-sensible-terminal'
export FZFZ_RECENT_DIRS_TOOL=fasd
#
# Language
@@ -51,3 +51,6 @@ path=(
export PATH
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin/:$HOME/.npm/bin
export WASMTIME_HOME="$HOME/.wasmtime"
export PATH="$WASMTIME_HOME/bin:$PATH"

View File

@@ -1,3 +1,10 @@
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
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
#
# Executes commands at the start of an interactive session.
#
@@ -45,7 +52,8 @@ fi
# Set the default Less options.
# Mouse-wheel scrolling has been disabled by -X (disable screen clearing).
# Remove -X and -F (exit if the content fits on one screen) to enable it.
export LESS='-F -g -i -M -R -S -w -X -z-4'
export LESS='-g -i -M -R -S -w -z-4 -j4a'
# Handy alias
alias fail="less +F"
@@ -187,6 +195,8 @@ fi
setopt interactivecomments
export WASMTIME_HOME="$HOME/.wasmtime"
export PATH="$WASMTIME_HOME/bin:$PATH"
export FZFZ_RECENT_DIRS_TOOL=fasd
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh