Added apt check and fix code + zfs code

This commit is contained in:
Lockszmith 2022-05-30 20:25:05 -04:00
parent 6e75c3a27e
commit d6169ea75a
6 changed files with 32 additions and 0 deletions

View File

@ -1 +1,3 @@
.local/share/fonts/**/.uuid
.ssh/*
~.ssh/authorized_keys.template

View File

@ -0,0 +1,3 @@
#! /usr/bin/bash
sudo chmod -v +x /usr/bin/apt*

View File

@ -22,6 +22,8 @@ echo "editors found:"
update-alternatives --query editor | grep Alternative: | cut -d: -f2
echo ""
print-result 'Executable `apt`' $([[ -e $(type -fP apt) ]] && [[ -x $(type -fP apt | head -1) ]] && echo 'Found' || echo 'NOT found' )
check-exist "Byobu" "/usr/bin/byobu-launch"
check-exist "oh-my-posh"
check-exist "~/.poshtheme.omp.json" "~/.poshtheme.omp.json" "-r"

View File

@ -0,0 +1,3 @@
if [[ -n "$(type -fP zfs)" ]]; then
alias zls='sudo zfs list -o name,used,avail,refer,canmount,mounted,mountpoint'
fi

14
_home/dot_zshrc Normal file
View File

@ -0,0 +1,14 @@
# The following lines were added by compinstall
zstyle ':completion:*' completer _complete _ignored
zstyle :compinstall filename '/mnt/szmedia/USERDATA/home/sz/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=99999
bindkey -e
# End of lines configured by zsh-newuser-install

View File

@ -0,0 +1,8 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEDcpSI8dqeZiu/rHLOcjhXW2p/MxFos/aVsGhQgy7sS szkolnik@Sygin
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL7qryNnf9zUZ5E+DD4z9yHugCkrIrFMXigvRfFSlhod szkolnik@LAPTOP-CAFNU5ND
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDGTHkB6rVlGwMYPMq8e9/3gR9LGV1FhWogmf3KhsvwG varonis\gszkolnik@GSZKOLNIK-LT2
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII2OMZBGSMz8CXip80Kla0H7v5NxsIedVTY3vW3If8pX gsz@varonis-labs
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDKIw8CpzqOPDChLA0cQ/BTFFv3k8v1rSwnbeR6Xuw3b szdocker@szdocker
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKF7pTCCo88FpglQDJlIrKRhuBnOR2GI9Hg4Hce3WzgO root@szdocker
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAZFHnsPCs/4lupKJnOhXZH+TmpkxVdatqCRH79zicw8 root@wolfpack
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFu/tEYb3/KubefZhMrUEvMf/4hvjfyNCJ6n9sWLLGeq ubuntu@ubuntu