Created
November 18, 2023 02:00
-
-
Save kaubu/bb154264e3cf2d5c0e47b0a91d7a3f4b to your computer and use it in GitHub Desktop.
NuShell config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Aliases | |
alias ll = ls -l | |
alias la = ls -a | |
alias lla = ls -la | |
alias gs = git status | |
alias ga = git add . | |
alias gc = git commit | |
alias gcu = git commit -m 'Update' | |
alias gac = git add .; git commit | |
def gacm [message] { | |
# get the path of tty and change the variable to it | |
tty | $env.GPG_TTY = $in | |
git add .; | |
git commit -m $message | |
} | |
alias gp = git push | |
alias gpu = git push -u origin main | |
alias gl = git log | |
alias glo = git log --oneline | |
# Add PATH folder to PATH | |
$env.PATH = ($env.PATH | split row (char esep) | append "/home/user/PATH/") | |
$env.path = ($env.PATH | split row (char esep) | append "/home/user/Documents/Applications/Odin/") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment