Added auto completion for `nmcli c u` on nushell

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
master
TuDatTr 2023-08-03 18:31:50 +02:00
parent 5fa0681986
commit 49118bbc01
6 changed files with 17 additions and 6 deletions

View File

@ -548,7 +548,15 @@ export def-env own_ranger [] {
cd $lastdir
}
def pwd_xsel [] { pwd | xsel -b }
def pwd_xsel [] {
let path = $"(pwd)";
$"cd `($path)`"| xsel -b;
$"Copied `($path)`";
}
def load_env [] {
open .env | lines | parse "{name}={value};" | transpose -r | into record | load-env
}
alias ll = ls -la
alias la = ls -a
@ -565,6 +573,7 @@ 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
alias lenv = load_env
# git
alias gpa = git push all --all

View File

@ -9,7 +9,7 @@ t:/home/tuan/Templates
w:/home/tuan/workspace_l/home_lab/wiki
k:/home/tuan/.syncthing/Documents/Uni/Studium/2022_Sommersemester/Bachelorprojekt/Implement EFCF based on libAFL/git/foundry/evm/src/executor
q:/home/tuan/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte/04-5G_IANA/02-gps
':/home/tuan/.syncthing/Documents/Uni/Studium/2022&2023_Wintersemester/Bachelorprojekt/LibAFL with EVM/Proposal
':/home/tuan/.config/nushell
e:/home/tuan/Documents/CTF/TryHackMe/Ice/2_Recon
s:/home/tuan/Pictures/Screenshots
v:/home/tuan/.aya01/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte/06-Server_Setup/ansible

View File

@ -269,7 +269,7 @@ Host 5g-mec-ovpn
IdentityFile /mnt/veracrypt1/genesis
Host ncs-jetson00
Hostname 10.168.68.132
Hostname 192.168.0.147
Port 22
User user
IdentityFile /mnt/veracrypt1/genesis

View File

@ -139,9 +139,12 @@
" :target
(file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}")
:unnarrowed t nil nil))))
(require 'ox-latex)
(unless (boundp 'org-latex-classes)
(setq org-latex-classes nil))
(add-to-list 'org-latex-classes
'("paper"
"\\documentclass[12pt,a4paper,conference,final,twoside]{IEEEtran}"
@ -150,4 +153,3 @@
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}")))

View File

@ -189,7 +189,7 @@
;;(scheme +guile) ; a fully conniving family of lisps
sh ; she sells {ba,z,fi}sh shells on the C xor
;;sml
;;solidity ; do you need a blockchain? No.
solidity ; do you need a blockchain? No.
;;swift ; who asked for emoji variables?
;;terra ; Earth and Moon in alignment for performance.
;;web ; the tubes

@ -1 +1 @@
Subproject commit 07fca786154551f90f36535bfb21f8ca4abd5027
Subproject commit 90b1b221fe7c20f2edef341a780e194cd22c7daa