commit a25c267c2201b8734a367efcef6fc5a968c12355 Author: Michael Scalzetti Date: Tue Sep 20 11:16:04 2022 -0400 initial commmit diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..76ac90f --- /dev/null +++ b/.gitconfig @@ -0,0 +1,11 @@ +[credentials] + helper = store +[user] + name = Michael Scalzetti + email = maestromike5@gmail.com +[credential] + helper = store +[git] + rebase = false +[pull] + rebase = false diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..37e9629 --- /dev/null +++ b/.zshrc @@ -0,0 +1,59 @@ +# Lines configured by zsh-newuser-install +HISTFILE=~/.histfile +HISTSIZE=500 +SAVEHIST=500 +setopt HIST_FIND_NO_DUPS +unsetopt autocd +bindkey -e +# End of lines configured by zsh-newuser-install +# The following lines were added by compinstall +zstyle :compinstall filename '/home/michael/.zshrc' + +autoload -Uz compinit +compinit +# End of lines added by compinstall + +# Add highlighting +#source /home/michael/.config/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +(( ${+ZSH_HIGHLIGHT_STYLES} )) || typeset -A ZSH_HIGHLIGHT_STYLES +ZSH_HIGHLIGHT_STYLES[path]=none +ZSH_HIGHLIGHT_STYLES[path_prefix]=none + +# Add autocomplete +autoload -U compinit; compinit + +autoload -Uz promptinit +tmp(){ + cd $(mktemp -d) +} + +setopt prompt_subst +autoload -Uz vcs_info +zstyle ':vcs_info:git*' formats \ + '%F{5}%F{3} %F{5}[%F{2}%b%F{5}]%f ' + +zstyle ':vcs_info:*' enable git cvs svn + +#zstyle ':vcs_info:git*' formats "%b [%u/%c] " +# or use pre_cmd, see man zshcontrib +vcs_info_wrapper() { + vcs_info + if [ -n "$vcs_info_msg_0_" ]; then + echo "%{$fg[grey]%}${vcs_info_msg_0_}%{$reset_color%}$del" + fi +} +promptinit +PROMPT="[%F{001}%n%F{reset}] %F{069}%1~%F{reset} > " +RPROMPT=$'$(vcs_info_wrapper) %h | %T' + +export PATH="/usr/sbin:/home/michael/.local/bin/:$PATH" +alias dl="curl -LOJ" +alias outline="/home/michael/Applications/Outline-Client.AppImage 1>/dev/null 2>/dev/null &" +alias la="ls -la" +bindkey '\e[F' end-of-line +bindkey '\e[H' beginning-of-line +neofetch + + + +