diff --git a/files/fonts/.fonts/SFMono Bold Nerd Font Complete.otf b/files/fonts/.fonts/SFMono Bold Nerd Font Complete.otf new file mode 100644 index 0000000..5007fbe Binary files /dev/null and b/files/fonts/.fonts/SFMono Bold Nerd Font Complete.otf differ diff --git a/files/shell/.bashrc b/files/shell/.bashrc index f109ab9..8687ebf 100644 --- a/files/shell/.bashrc +++ b/files/shell/.bashrc @@ -19,11 +19,12 @@ git_branch() { HOST="\[\033[0;33m\]\h\[\033[m\]" GIT="\[\033[0;31m\]\$(git_branch)\[\033[m\]" DIR="\[\033[0;34m\]\w\[\033[m\]" +NEWLINE=$'\n' PROMPT_COMMAND=__prompt_command __prompt_command() { local EXIT="$?" - export PS1="${HOST} ${DIR} ${GIT}" + export PS1="${HOST} ${DIR} ${GIT}${NEWLINE}" local red_lambda='\[\033[0;31m\]λ>\[\033[00m\] ' local green_lambda='\[\033[0;32m\]λ>\[\033[00m\] ' diff --git a/files/shell/.shellrc.alias b/files/shell/.shellrc.alias index 0adfa85..6314224 100644 --- a/files/shell/.shellrc.alias +++ b/files/shell/.shellrc.alias @@ -36,6 +36,7 @@ alias truecolor='curl -s https://raw.githubusercontent.com/JohnMorales/dotfiles/ alias nssh='SSH_AUTH_SOCK= ssh' alias cpu='watch -n.1 "grep \"^[c]pu MHz\" /proc/cpuinfo"' alias fixagent='eval $(tmux show-env -s | grep "^SSH_")' +alias whatsmyip='curl https://ipinfo.io/ip ; echo' # nmcli alias con='nmcli con' diff --git a/files/shell/.zshrc b/files/shell/.zshrc index bb30815..1885bd1 100644 --- a/files/shell/.zshrc +++ b/files/shell/.zshrc @@ -15,7 +15,7 @@ GIT="%{$fg[red]%}\$vcs_info_msg_0_" HOSTN="%{$fg[yellow]%}%m " NEWLINE=$'\n' -export PROMPT="${HOSTN}${DIR}${GIT} ${BREAK}${NEWLINE}${ICON}%{$reset_color%} " +export PROMPT="${HOSTN}${DIR}${GIT}${NEWLINE}${ICON}%{$reset_color%} " zstyle ':vcs_info:git:*' formats ' (%b )' # show info in title bar @@ -96,7 +96,6 @@ if [[ -d ~/.vim/plugged/fzf ]]; then [[ -x $(which fzf 2> /dev/null) ]] || export PATH=$PATH:$HOME/.vim/plugged/fzf/bin source ~/.vim/plugged/fzf/shell/completion.zsh source ~/.vim/plugged/fzf/shell/key-bindings.zsh - bindkey '^F' fzf-file-widget fi # ============================== Fancy Hacks