Fixed some file paths, better shortcuts for git-heatmap and more git aliases

master
Wynd 2024-11-09 10:39:23 +02:00
parent e3710b0b1a
commit 3f441c3c09
3 changed files with 10 additions and 7 deletions

View File

@ -6,9 +6,9 @@
$env.GREP_COLORS = 'ms01;04;32'
$env.TIMEFMT = "real\t%E\nuser\t%U\nsys\t%S"
$env.GEM_HOME = "~/.gems"
$env.BUN_INSTALL = "~/.bun"
$env.ASDF_DIR = "~/.asdf"
$env.GEM_HOME = "/home/wynd/.gems"
$env.BUN_INSTALL = "/home/wynd/.bun"
$env.ASDF_DIR = "/home/wynd/.asdf"
$env.WORK_DIR = "/home/wynd/Workspace/Active Projects"
$env.PATH = "~/.gems/bin" | append $env.PATH
@ -28,9 +28,9 @@ alias untar = tar -xvzf
alias diskspace = df -ht ext4
alias ytda = yt-dlp -x --audio-format wav
alias ytdv = yt-dlp
alias repos = git-heatmap -a="Wynd" --root-dir $env.WORK_DIR --split-months
alias reposn = git-heatmap -a="Wynd" --root-dir $env.WORK_DIR --split-months --months-per-row 6 --format numbers
def repos [] { ^clear; git-heatmap -a="Wynd" --root-dir $env.WORK_DIR --split-months }
def reposn [] { ^clear; git-heatmap -a="Wynd" --root-dir $env.WORK_DIR --split-months --months-per-row 6 --format numbers }
def uuid [] { ^uuidgen | tr -d '\n' | xclip -selection c }
def psm [] { ps | sort-by -r mem | select pid name mem | first 30}
@ -44,6 +44,8 @@ alias gco = git checkout
alias gcb = git checkout -b
alias gp = git push
alias gpl = git pull
alias gd = git diff
alias gdc = git diff --cached
alias glo = git log --pretty='format:%C(yellow)%as %C(blue)%cn %C(green)%h %C(reset)%s' --no-merges
alias glg = git log --graph $'--pretty=%Cred%h%Creset -%C(char lp)auto(char rp)%d%Creset %s %Cgreen(char lp)%ad(char rp) %C(char lp)bold blue(char rp)<%an>%Creset' --date=short
@ -950,7 +952,7 @@ source ./completions/cargo.nu
source ./completions/docker.nu
# clears the screen and displays the figlet
clear
^clear
figlet -f 'Red Phoenix' Wynd | lolcat
use ~/.cache/starship/init.nu

View File

@ -69,6 +69,7 @@ return {
"java",
"groovy",
"glsl",
"wgsl",
},
sync_install = false,
highlight = { enable = true },

View File

@ -127,7 +127,7 @@ export PATH=$PATH:/home/$USER/.local/bin
# Core
packages="make cmake autoconf xclip coreutils git apt-transport-https ca-certificates curl wget gnupg lsb-release coreutils sed build-essential \
libssl-dev libudev-dev libyaml-dev libconfig libfontconfig-dev libncurses-dev lld \
libssl-dev libudev-dev libyaml-dev libconfig libfontconfig-dev libncurses-dev libdbus-1-dev libxcb1-dev libxrandr2 lld \
firefox git python3-pip zsh mpv figlet lolcat sqlitebrowser flatpak nala tmux filezilla \
ffmpeg libavcodec-extra ubuntu-restricted-extras \
gnome-shell-extensions gnome-tweak-tool gnome-menus gnome-user-share dconf-editor gparted alacarte \