diff --git a/bash/.bashrc b/bash/.bashrc index 848f637..7ee516c 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -184,3 +184,7 @@ if command -v starship > /dev/null 2>&1; then eval "$(starship init bash)" fi +# Load Mise en dev +if command -v mise > /dev/null 2>&1; then + eval "$(mise activate bash)" +fi diff --git a/bash/.profile b/bash/.profile index 8311af4..b63673f 100644 --- a/bash/.profile +++ b/bash/.profile @@ -1,17 +1,3 @@ -appendpath() { - local location="${1}" - case ":$PATH:" in - *":$location:"*) ;; - *) export PATH="$PATH:$location" ;; - esac -} - -appendpath "$HOME/.local/bin" -appendpath "$HOME/.cargo/bin" -appendpath "/home/linuxbrew/.linuxbrew/bin" -appendpath "$HOME/.config/emacs/bin" -unset appendpath - # XDG variables export XDG_CONFIG_HOME=${HOME}/.config export XDG_DATA_HOME=${HOME}/.local/share @@ -28,10 +14,8 @@ export QT_STYLE_OVERRIDE=kvantum # Make Qt apps honour DPI settings. export QT_AUTO_SCREEN_SCALE_FACTOR=1 -export ZSH_HOME="$HOME/.zsh" export DOTFILES="$HOME/.dotfiles" -export EDITOR=nvim -export HELPDIR=/usr/share/zsh/"${ZSH_VERSION}"/help +export EDITOR=nano # SSH socket export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/gcr/ssh" @@ -50,8 +34,24 @@ export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/gcr/ssh" # export FZF_TMUX_OPTS=" -p90%,70%" export VIRTUAL_ENV_DISABLE_PROMPT=1 +# Export Golang enviroments +export GOPATH="$HOME/.local/share/Go" +export GOBIN="$GOPATH/bin" + source "$HOME/.profile.d/homebrew.sh" -source "$HOME/.profile.d/mise.sh" -source "$HOME/.profile.d/golang.sh" source "$HOME/.profile.d/java.sh" +appendpath() { + local location="${1}" + case ":$PATH:" in + *":$location:"*) ;; + *) export PATH="$PATH:$location" ;; + esac +} + +appendpath "$HOME/.local/bin" +appendpath "$GOBIN" +appendpath "$HOME/.cargo/bin" +appendpath "/home/linuxbrew/.linuxbrew/bin" +appendpath "$HOME/.config/emacs/bin" +unset appendpath diff --git a/bash/.profile.d/golang.sh b/bash/.profile.d/golang.sh deleted file mode 100755 index d4a357a..0000000 --- a/bash/.profile.d/golang.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env bash - -if command -v go > /dev/null 2>&1; then - export GOPATH="$HOME/.local/share/Go" - export GOBIN="$GOPATH/bin" -fi diff --git a/bash/.profile.d/mise.sh b/bash/.profile.d/mise.sh deleted file mode 100755 index c73ae9d..0000000 --- a/bash/.profile.d/mise.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash - -if command -v mise > /dev/null 2>&1; then - eval "$(mise activate bash)" -fi diff --git a/doom/.config/doom/config.el b/doom/.config/doom/config.el index 4e8086b..31ba447 100644 --- a/doom/.config/doom/config.el +++ b/doom/.config/doom/config.el @@ -111,11 +111,16 @@ ;; Configure Elfeed (after! elfeed + (setq rmh-elfeed-org-files '("~/.config/doom/elfeed.org")) + (setq elfeed-db-directory "~/.elfeed") (setq elfeed-enclosure-default-dir "~/Downloads/") - (setq elfeed-search-remain-on-entry t) - (setq elfeed-search-title-max-width 100) - (setq elfeed-search-title-min-width 30) - (setq elfeed-search-trailing-width 25) - (setq elfeed-show-truncate-long-urls t) (setq elfeed-sort-order 'descending) - (setq elfeed-search-filter "1-week-ago +unread")) + (setq elfeed-search-filter "1-week-ago +unread") + + ;; ;; Key bindings + ;; (map! :map elfeed-search-mode-map + ;; :n "d" #'elfeed-download-current-entry + ;; :n "O" #'elfeed-search-browse-url) + + ;; Update hourly + (run-at-time nil (* 60 60) #'elfeed-update)) diff --git a/doom/.config/doom/elfeed.org b/doom/.config/doom/elfeed.org new file mode 100644 index 0000000..ce646a0 --- /dev/null +++ b/doom/.config/doom/elfeed.org @@ -0,0 +1,9 @@ +#+TITLE: RSS Urls +#+AUTHOR: Fabio Scotto di Santolo +#+DATE: <2025-10-25 Sat> + +* root :elfeed: +** Programming :programming: +*** [[https://feeds.feedburner.com/TheHackersNews][Hacker News]] :news: :security: +** FOSS News :news: +*** [[https://blog.linuxmint.com/?feed=rss2][Linux Mint Blog]] :blog: :linux: :linuxmint: diff --git a/doom/.config/doom/init.el b/doom/.config/doom/init.el index e916887..02d25f8 100644 --- a/doom/.config/doom/init.el +++ b/doom/.config/doom/init.el @@ -22,11 +22,11 @@ :completion company ; the ultimate code completion backend - (corfu +orderless) ; complete with cap(f), cape and a flying feather! + ;;(corfu +orderless) ; complete with cap(f), cape and a flying feather! ;;helm ; the *other* search engine for love and life ;;ido ; the other *other* search engine... ivy ; a search engine for love and life - vertico ; the search engine of the future + ;;vertico ; the search engine of the future :ui ;;deft ; notational velocity for Emacs @@ -181,6 +181,9 @@ yaml ; JSON, but readable zig ; C, but simpler + :tools + lsp ; lsp mode + :email (mu4e +org +gmail) ;;notmuch