Fixed some file paths, better shortcuts for git-heatmap and more git aliases
parent
e3710b0b1a
commit
3f441c3c09
|
@ -6,9 +6,9 @@
|
||||||
$env.GREP_COLORS = 'ms01;04;32'
|
$env.GREP_COLORS = 'ms01;04;32'
|
||||||
$env.TIMEFMT = "real\t%E\nuser\t%U\nsys\t%S"
|
$env.TIMEFMT = "real\t%E\nuser\t%U\nsys\t%S"
|
||||||
|
|
||||||
$env.GEM_HOME = "~/.gems"
|
$env.GEM_HOME = "/home/wynd/.gems"
|
||||||
$env.BUN_INSTALL = "~/.bun"
|
$env.BUN_INSTALL = "/home/wynd/.bun"
|
||||||
$env.ASDF_DIR = "~/.asdf"
|
$env.ASDF_DIR = "/home/wynd/.asdf"
|
||||||
$env.WORK_DIR = "/home/wynd/Workspace/Active Projects"
|
$env.WORK_DIR = "/home/wynd/Workspace/Active Projects"
|
||||||
|
|
||||||
$env.PATH = "~/.gems/bin" | append $env.PATH
|
$env.PATH = "~/.gems/bin" | append $env.PATH
|
||||||
|
@ -28,9 +28,9 @@ alias untar = tar -xvzf
|
||||||
alias diskspace = df -ht ext4
|
alias diskspace = df -ht ext4
|
||||||
alias ytda = yt-dlp -x --audio-format wav
|
alias ytda = yt-dlp -x --audio-format wav
|
||||||
alias ytdv = yt-dlp
|
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 uuid [] { ^uuidgen | tr -d '\n' | xclip -selection c }
|
||||||
def psm [] { ps | sort-by -r mem | select pid name mem | first 30}
|
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 gcb = git checkout -b
|
||||||
alias gp = git push
|
alias gp = git push
|
||||||
alias gpl = git pull
|
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 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
|
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
|
source ./completions/docker.nu
|
||||||
|
|
||||||
# clears the screen and displays the figlet
|
# clears the screen and displays the figlet
|
||||||
clear
|
^clear
|
||||||
figlet -f 'Red Phoenix' Wynd | lolcat
|
figlet -f 'Red Phoenix' Wynd | lolcat
|
||||||
|
|
||||||
use ~/.cache/starship/init.nu
|
use ~/.cache/starship/init.nu
|
||||||
|
|
|
@ -69,6 +69,7 @@ return {
|
||||||
"java",
|
"java",
|
||||||
"groovy",
|
"groovy",
|
||||||
"glsl",
|
"glsl",
|
||||||
|
"wgsl",
|
||||||
},
|
},
|
||||||
sync_install = false,
|
sync_install = false,
|
||||||
highlight = { enable = true },
|
highlight = { enable = true },
|
||||||
|
|
|
@ -127,7 +127,7 @@ export PATH=$PATH:/home/$USER/.local/bin
|
||||||
|
|
||||||
# Core
|
# Core
|
||||||
packages="make cmake autoconf xclip coreutils git apt-transport-https ca-certificates curl wget gnupg lsb-release coreutils sed build-essential \
|
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 \
|
firefox git python3-pip zsh mpv figlet lolcat sqlitebrowser flatpak nala tmux filezilla \
|
||||||
ffmpeg libavcodec-extra ubuntu-restricted-extras \
|
ffmpeg libavcodec-extra ubuntu-restricted-extras \
|
||||||
gnome-shell-extensions gnome-tweak-tool gnome-menus gnome-user-share dconf-editor gparted alacarte \
|
gnome-shell-extensions gnome-tweak-tool gnome-menus gnome-user-share dconf-editor gparted alacarte \
|
||||||
|
|
Loading…
Reference in New Issue