Updated for nushell v0.83 and some changes in doom emacs config

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
TuDatTr
2023-07-29 16:16:29 +02:00
parent 48eace8cee
commit 5fa0681986
13 changed files with 98 additions and 194 deletions

View File

@@ -181,7 +181,7 @@ let light_theme = {
# The default config record. This is where much of your global configuration is setup.
let-env config = {
$env.config = {
# true or false to enable or disable the welcome banner at startup
show_banner: false
ls: {
@@ -548,6 +548,8 @@ export def-env own_ranger [] {
cd $lastdir
}
def pwd_xsel [] { pwd | xsel -b }
alias ll = ls -la
alias la = ls -a
alias q = exit
@@ -562,10 +564,11 @@ alias tvres = xrandr --output HDMI1 --transform 1.02,0,-20,0,1.02,-10,0,0,1
alias defaultres = xrandr --output HDMI1 --transform 1.00,0,0,0,1.00,0,0,0,1
alias latexmk = ^latexmk -f -pdf -interaction=nonstopmode
alias ranger = own_ranger
alias xselp = pwd_xsel
# git
alias gpa = git push all --all
alias gras = add_soft
# alias gras = add_soft
alias gd = git diff
alias gp = git push
alias gcsm = git commit -s -m
@@ -573,6 +576,6 @@ alias gaa = git add --all
alias gco = git checkout
alias grv = git remote -v
let-env DOCKER_BUILDKIT = 1 # Disable for podman
$env.DOCKER_BUILDKIT = 1 # Disable for podman
source ~/.cache/starship/init.nu