diff --git a/bash/.bashrc b/bash/.bashrc index 98f59c5..73085fb 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -84,17 +84,6 @@ function extract { fi fi } - -function pacsrc() { - packages=("$@") - for pack in "${packages[@]}" - do - echo -e "\n" - echo "======================================== $pack ========================================" - echo -e "\n" - yay -Ss $pack - done -} # jump directorys upwards until it hits a directory with multiple folders function up(){ @@ -136,7 +125,7 @@ function welcome() { #figlet "Welcome, " $USER; toilet -f starwars -t "Welcome, " $USER; #echo -e ""; cal ; - screenfetch 2> /dev/null + fastfetch 2> /dev/null echo "" echo -ne "Today is "; date echo -e "" @@ -181,8 +170,8 @@ fi [ -e "$HOME/.dircolors" ] && DIR_COLORS="$HOME/.dircolors" [ -e "$DIR_COLORS" ] || DIR_COLORS="" -. "$HOME/.cargo/env" +# Initialize Zoxide +eval "$(zoxide init bash)" -#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!! -export SDKMAN_DIR="/home/plague/.sdkman" -[[ -s "/home/plague/.sdkman/bin/sdkman-init.sh" ]] && source "/home/plague/.sdkman/bin/sdkman-init.sh" +# Activete Mise JDX +eval "$(/usr/bin/mise activate bash)" diff --git a/bash/.bashrc.aliases b/bash/.bashrc.aliases index e54a4c5..80e1168 100644 --- a/bash/.bashrc.aliases +++ b/bash/.bashrc.aliases @@ -12,8 +12,8 @@ alias cd..="cd .." alias home="cd ~" # Alias del comando ls -alias l='ls -CF ' -alias ls="ls -CF" +alias l="ls -CF --color=always" +alias ls="ls --color=always" alias lla="ls -lisah" alias ll="ls -lh" alias la="ls -CFa" @@ -46,4 +46,4 @@ alias folders='find . -maxdepth 1 -type d -print0 | xargs -0 du -sk | sort -rn' alias vpn-add='nmcli connection import type openvpn file' alias pbcopy='xsel --clipboard --input' alias pbpaste='xsel --clipboard --output' - +alias stow='stow --dotfiles'