Added auto completion for nmcli c u on nushell
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user