commit 846e15494b084dafe33aa4c62575327846d663ce
parent 83c75f0498152ce31ab83e809f3fa8ba2b06f0e8
Author: klewer-martin <martin.cachari@gmail.com>
Date: Mon, 1 Feb 2021 05:11:43 -0300
Updated config files;
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/.zshrc b/.zshrc
@@ -16,9 +16,11 @@ zstyle :compinstall filename '/home/mk/.zshrc'
autoload -Uz compinit
compinit
+
# This enables autocomplete for dotfiles (hidden in unix like OSs)
_comp_options+=(globdots)
+
# Add my personal scripts folder to path
PATH="$PATH:/home/mk/scripts"
@@ -33,6 +35,7 @@ alias v='nvim'
alias vim='nvim'
alias sv='sudo nvim'
+
# this part sets a nice colored bash like prompt;
autoload -U colors && colors
@@ -42,6 +45,7 @@ PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[magenta]%}%M %{$fg[blu
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
+
# starts the x server (because I don't use a disply manager)
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
startx