Compare commits

..

5 commits

2 changed files with 19 additions and 5 deletions

View file

@ -199,13 +199,13 @@ bar {
colors { colors {
statusline #000000 statusline #000000
background #ffffff background #ffffff
focused_workspace #000000 #000000 #ffffff focused_workspace #cf1bff #cf1bff #ffffff
active_workspace #eca6ff #eca6ff #ffffff active_workspace #eca6ff #eca6ff #ffffff
inactive_workspace #dfdfdf #dfdfdf #000000 inactive_workspace #dfdfdf #dfdfdf #000000
} }
} }
client.focused #000000 #000000 #ffffff client.focused #cf1bff #cf1bff #ffffff
client.focused_inactive #eca6ff #eca6ff #000000 client.focused_inactive #eca6ff #eca6ff #000000
client.unfocused #dfdfdf #dfdfdf #000000 client.unfocused #dfdfdf #dfdfdf #000000

20
.zshrc
View file

@ -9,8 +9,8 @@ setopt interactive_comments
setopt autocd extendedglob notify setopt autocd extendedglob notify
bindkey -e bindkey -e
bindkey "^[[1;5C" forward-word bindkey "^[f" forward-word
bindkey "^[[1;5D" backward-word bindkey "^[b" backward-word
zstyle ':completion:*' list-dirs-first yes zstyle ':completion:*' list-dirs-first yes
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*' zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
@ -18,6 +18,8 @@ zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*'
zstyle :compinstall filename ~/.zshrc zstyle :compinstall filename ~/.zshrc
autoload -Uz compinit && compinit autoload -Uz compinit && compinit
# Advertencia: no es seguro entrar a carpetas desconfiables con esto...
# https://blog.sonarsource.com/securing-developer-tools-git-integrations
autoload -Uz vcs_info autoload -Uz vcs_info
zstyle ':vcs_info:*' actionformats \ zstyle ':vcs_info:*' actionformats \
'%F{4}[%F{2}%b%F{3}|%F{1}%a%F{4}]%f ' '%F{4}[%F{2}%b%F{3}|%F{1}%a%F{4}]%f '
@ -32,13 +34,25 @@ PS1='%S%F{5} %3~ ${vcs_info_msg_0_}%f%#%s '
alias ls='ls --color=always' alias ls='ls --color=always'
alias grep='grep --color=always' alias grep='grep --color=always'
alias gitdf='git --git-dir=$HOME/.config/dotfiles/ --work-tree=$HOME'
alias ssh='TERM=xterm-256color ssh' alias ssh='TERM=xterm-256color ssh'
alias e="$EDITOR" alias e="$EDITOR"
alias r="trash -r" alias r="trash -r"
alias a='nohup nemo "$(pwd)" >/dev/null &' alias a='nohup nemo "$(pwd)" >/dev/null &'
alias gcp='git commit -p'
alias gc='git commit'
alias gs='git status'
alias ga='git add'
alias gt='git tag'
alias gp='git push'
alias gpo='git push origin' # Para tags: git push origin 1.0.2 / gpo 1.0.2
alias gitdf='git --git-dir=$HOME/.config/dotfiles/ --work-tree=$HOME'
alias gdcp='gitdf commit -p'
alias gds='gitdf status'
alias gdp='gitdf push'
source /usr/share/fzf/key-bindings.zsh source /usr/share/fzf/key-bindings.zsh
source ~/.config/zsh/bg_notify.zsh source ~/.config/zsh/bg_notify.zsh
! "$REMOTE" && source ~/.config/zsh/osc_7.zsh ! "$REMOTE" && source ~/.config/zsh/osc_7.zsh