Initial commit

This commit is contained in:
seajee
2024-12-21 12:59:01 +01:00
commit 1263f28d03
27 changed files with 1771 additions and 0 deletions

30
bash/.bashrc Normal file
View File

@@ -0,0 +1,30 @@
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# Aliases
alias ls='ls --color=auto'
alias ll='ls -alhF'
alias grep='grep --color=auto'
alias sl='sl -e'
alias fetch='fastfetch'
alias vim='nvim'
alias vff='vim $(fzf --preview="bat {}")'
alias plasma='/usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland'
alias yt-mp3='yt-dlp --output "%(artist)s - %(title)s.%(ext)s" --extract-audio --embed-metadata --embed-thumbnail --audio-format mp3 --audio-quality 0'
alias yt-mp4='yt-dlp --format "bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4]"'
# Environment variables
export PATH="$PATH:$HOME/.local/bin"
BLUE="\[\e[0;34m\]"
RESET="\[\e[0m\]"
PS1="$BLUEλ \W $ $RESET"
# Setup zoxide
eval "$(zoxide init --cmd cd bash)"