All New

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Register

Login

All New Register Login

All gists

Recently created
Least recently created
Recently updated
Least recently updated
vosjedev's Avatar

vosjedev / bash_status.sh

0 likes
0 forks
2 files
Last active 4 months ago
My custom pure-bash bash prompt
1 #!/usr/bin/env bash
2
3 # https://snip.vosjedev.net/vosjedev/494b413bab7d4c20aa8f0d823ccf969f
4
5 # shellcheck disable=SC2120
6 function __prompt_line__ {
7 [[ "$PROMPT_OPT_SEMANTIC" == true ]] && echo -ne "\e]133;L\a\e]133;D;${exit}\e]133;A\a"
8 # PS1="$__PS1_BACKUP"
9 if [[ -z $STATUS_MODULES ]]; then
10 STATUS_MODULES="git>pwd>user>ssh>container>host>venv>date>end"
vosjedev's Avatar

vosjedev / autorotate.sh

0 likes
0 forks
1 files
Last active 5 months ago
1 #!/usr/bin/bash
2
3 ################
4 # vosjedev.net #
5 ################
6
7 # ========
8 # SETTINGS
9 # ========
Newer Older

Powered by Opengist ⋅ Load: 124ms⋅

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