commit 8823ab0671f0bd244bcbd36ea9d6ab16118e3941 Author: Angelo Noto Date: Sat Jun 20 22:41:18 2026 -0400 Initial dotfiles commit diff --git a/bash/.bashrc b/bash/.bashrc new file mode 100644 index 0000000..e420ccc --- /dev/null +++ b/bash/.bashrc @@ -0,0 +1,32 @@ +# .bashrc + +# Source global definitions +if [ -f /etc/bashrc ]; then + . /etc/bashrc +fi + +export TIME_STYLE="long-iso" + +# User specific environment +if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]; then + PATH="$HOME/.local/bin:$HOME/bin:$PATH" +fi +export PATH + +# Uncomment the following line if you don't like systemctl's auto-paging feature: +# export SYSTEMD_PAGER= + +# User specific aliases and functions +if [ -d ~/.bashrc.d ]; then + for rc in ~/.bashrc.d/*; do + if [ -f "$rc" ]; then + . "$rc" + fi + done +fi +unset rc + +# >>> grok installer >>> +export PATH="$HOME/.grok/bin:$PATH" +[[ -r "$HOME/.grok/completions/bash/grok.bash" ]] && source "$HOME/.grok/completions/bash/grok.bash" +# <<< grok installer <<< diff --git a/bash/.bashrc.d/apt.bash b/bash/.bashrc.d/apt.bash new file mode 100644 index 0000000..fa78ba2 --- /dev/null +++ b/bash/.bashrc.d/apt.bash @@ -0,0 +1,15 @@ +# DNF aliases for apt/pacman muscle memory +alias apt='sudo dnf' +alias apt-get='sudo dnf' +alias apt-update='sudo dnf update -y' +alias apt-upgrade='sudo dnf upgrade -y' +alias apt-install='sudo dnf install -y' +alias apt-remove='sudo dnf remove -y' +alias apt-search='dnf search' + +alias pacman='sudo dnf' +alias pacman-update='sudo dnf update -y' +alias pacman-upgrade='sudo dnf upgrade -y' +alias pacman-install='sudo dnf install -y' +alias pacman-remove='sudo dnf remove -y' +alias pacman-search='dnf search' \ No newline at end of file diff --git a/git/.gitconfig b/git/.gitconfig new file mode 100644 index 0000000..d145b69 --- /dev/null +++ b/git/.gitconfig @@ -0,0 +1,35 @@ +[init] + defaultBranch = master +# User settings +[include] + path = ~/.gitconfig.user +[http] + lowSpeedLimit = 1000 + lowSpeedTime = 60 + postBuffer = 524288000 +[format] + pretty = "%w(79, 0, 29) %C(white)%cd%Creset | %C(magenta)%h%Creset | %s%x09%cr" +[log] + date = format:%Y.%m.%d %H:%M:%S %z +[mergetool] + keepBackup = false +[advice] + addIgnoredFile = false +[user] + name = Angelo Noto + email = anotodev@outlook.com +[core] + excludesfile = /home/anoto/.gitignore_global + editor = code --wait + # pager = code --wait - +[diff] + tool = vscode +[difftool "vscode"] + cmd = code --wait --diff $LOCAL $REMOTE +[merge] + tool = vscode + conflictstyle = diff3 +[mergetool "vscode"] + cmd = code --wait $MERGED +[alias] + open = code .git/config .