From 3689c8d232ef9013039a736d2bdad644ed44e2ff Mon Sep 17 00:00:00 2001 From: JaeYoo-Im Date: Thu, 4 May 2023 15:40:50 +0900 Subject: [PATCH] shell : small changes. --- .config/fish/config.fish | 1 + .config/nushell/config.nu | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index b62ebe7..d18ec78 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -17,6 +17,7 @@ alias emt="emacsclient -c -a 'emacs -nw'" alias emtangle="emacs --batch -eval \"(require 'org)\" --eval '(org-babel-tangle-file \"~/.config/emacs/emacs.org\")'" #neovim to vi alias vi=nvim +alias cat=bat #pacman unlock alias paruunlock="sudo rm /var/lib/pacman/db.lck" #grub update diff --git a/.config/nushell/config.nu b/.config/nushell/config.nu index 09cc79a..de06147 100644 --- a/.config/nushell/config.nu +++ b/.config/nushell/config.nu @@ -390,7 +390,7 @@ let-env config = { external: { enable: true # set to false to prevent nushell looking into $env.PATH to find more suggestions, `false` recommended for WSL users as this look up my be very slow max_results: 100 # setting it lower can improve completion performance at the cost of omitting some options - completer: $fish_completer # check 'carapace_completer' above as an example + completer: null # check 'carapace_completer' above as an example } } filesize: { @@ -652,8 +652,11 @@ alias emd = emacs --daemon alias emdk = emacsclient --eval '(kill-emacs)' alias em = emacsclient -c -a 'emacs' alias emt = emacsclient -c -a 'emacs -nw' +alias emtangle = emacs --batch -eval "(require 'org)" --eval '(org-babel-tangle-file "~/.config/emacs/emacs.org")' alias startsv = ssh odroid startsv alias stopsv = ssh odroid stopsv +alias cat = bat +#alias gpulls = enter ~/.config/emacs; git pull; enter ~/org; git pull; exit; exit alias vi = nvim @@ -664,7 +667,6 @@ let-env PYTHONSTARTUP = $env.HOME + "/scripts/my_imports.py" source ~/.cache/starship/init.nu +source ~/.local/share/atuin/init.nu #let hostname = (cat /etc/hostname) #figlet -w 100 $hostname - -