Compare commits

..

No commits in common. "51e4a72bfda2f258ec404f6a54918ab9af447ede" and "0d0586625dd8d0d231f48cc4845cca4fa9af4b4f" have entirely different histories.

4 changed files with 5 additions and 7 deletions

View File

@ -5,9 +5,8 @@
##########################################
set -o pipefail
export XDG_RUNTIME_DIR=/run/user/1000
export XDG_CONFIG_HOME=/home/server/.config
source "$XDG_CONFIG_HOME"/zsh/secrets.sh
export XDG_RUNTIME_DIR=/run/user/1000
##########################################
# Create sqlite3 backup for Vaultwarden #

View File

@ -1,2 +0,0 @@
#!/bin/sh
virt-viewer -c qemu:///system Riva --attach -k

View File

@ -1,6 +1,5 @@
#!/bin/bash
export XDG_CONFIG_HOME=/home/server/.config
source "$XDG_CONFIG_HOME"/zsh/secrets.sh
for _ in {1..2}; do

View File

@ -1,4 +1,6 @@
if [[ -z "${XDG_CONFIG_HOME}" ]]; then
source ~/.profile
fi
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.config/zsh/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
@ -160,7 +162,7 @@ function zvm_after_init() {
if [ "$REMOTE_PATH" != "" ]; then
cd "$REMOTE_PATH"
elif [ "$PREVIOUS_SESSION_ID" != "" ]; then
cd "$(readlink -e /proc/$(cat /tmp/ssh_sessions/$PREVIOUS_SESSION_ID)/cwd)"
cd $(readlink -e /proc/$(cat /tmp/ssh_sessions/$PREVIOUS_SESSION_ID)/cwd)
fi
}