Alle Neu

user:thomas Gists erstellt von Nutzer

title:mygist Gists mit Titel

filename:myfile.txt Gists mit Dateinamen

extension:yml Gists mit Dateiendung

language:go Gists in Sprache

topic:homelab gists with given topic

Anmelden


Alle Neu Anmelden

All gists matching topic bash

Neueste erstellt
Älteste erstellt
Neueste bearbeitet
Älteste bearbeitet
admin's Avatar

admin / ~/.bash_aliases

0 Favoriten
0 Forks
1 Dateien
Zuletzt aktiv 1 month ago
A list of aliases to be sourced at shell session initialization
alias aliases bash
1 #!/bin/bash
2 set -euo pipefail
3
4 alias clone="rsync -pogAXtlHrDx --stats --info=progress2"
5 alias codium="flatpak run --user com.vscodium.codium"
6 alias flatshell="flatpak run --user --command=sh"
7 alias pman="podman"
8 alias docker="podman"
admin's Avatar

admin / ~/.bash_functions

0 Favoriten
0 Forks
1 Dateien
Zuletzt aktiv 1 month ago
Bash functions to have at initialization of shell session
backup bash fuse gocryptfs mounting snapshotting zfs
1 #!/bin/bash
2 set -euo pipefail
3
4 source .env
5 GOCRYPTFS_PASSFILE=${GOCRYPTFS_ROOT_DIR:-~/.keys/gocrypts}/gocryptfs.key
6 GOCRYPTFS_OUTPUT_MOUNT=${GOCRYPTFS_MOUNT_ROOT:-~/.mnt}
7
8 gcfs-mount () {
9 if [ "$1" == "data" ]; then
10 GOCRYPTFS_CONFIG="${GOCRYPTFS_ROOT_DIR}/data-cipher/gocryptfs.conf"
Neuer Älter

Powered by Opengist ⋅ Load: 28ms⋅

Deutsch
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文