Skip to content

Instantly share code, notes, and snippets.

View Piqlet's full-sized avatar

Piqlet

View GitHub Profile
@Piqlet
Piqlet / Command_menu_terminal_bash_fzf_reload
Created October 21, 2022 11:33
Command menu (terminal,bash,fzf_reload)
# Oct 21, 2022, 13:12:29 Command menu (terminal,bash,fzf_reload)
.bashrc :
# folder,export PATH : Private path where the "type -p" command will find your own files.
# source : Short .bashrc entry to make the original .bashrc more transparent. Custom settings and files in a separate directory. Easily portable, i.e. modular architecture.
# $folder content :
# $ ls $folder
# backup.txt bash_settings cmd.txt hdd.txt install.txt menupagedec menupageinc pacman.txt swap.txt
@Piqlet
Piqlet / Command_menu_terminal_bash_fzf
Created October 21, 2022 10:45
Command menu (terminal,bash,fzf). (21-10-2022)
Oct 09, 2022, 17:09:47
.bashrc :
# folder,export PATH : Private path where the "type -p" command will find your own files.
# source : Short .bashrc entry to make the original .bashrc more transparent. Custom settings and files in a separate directory. Easily portable, i.e. modular architecture.
# $folder content :
# $ ls $folder
@Piqlet
Piqlet / gist:b6187a1b8ac2dcaa6d20000fc72ae94f
Created September 20, 2022 08:50
Command menu (bash) .
.bashrc :
# folder,export PATH : Private path where the "type -p" command will find your own files.
# source : Short .bashrc entry to make the original .bashrc more transparent. Custom settings and files in a separate directory. Easily portable, i.e. modular architecture.
folder=~/Downloads/bash && export PATH="$folder:$PATH" && source bash_settings
~/Downloads/bash/bash_settings :
@Piqlet
Piqlet / gist:37292470e703cf4c251c34e8aa571ded
Created September 16, 2022 06:24
Simple terminal help for easier use of commands. 16/09/2022
.bashrc :
# folder,export PATH : Private path where the "type -p" command will find your own files.
# source : Short .bashrc entry to make the original .bashrc more transparent. Custom settings and files in a separate directory. Easily portable, i.e. modular architecture.
folder=~/Downloads/bash && export PATH="$folder:$PATH" && source bash_settings
~/Downloads/bash/bash_settings :
@Piqlet
Piqlet / Linux_terminal_help.txt
Last active April 27, 2022 09:06
Simple terminal help for easier use of commands.
04-03-2022 9:05 Linux terminal help
Simple terminal help for easier use of commands.
1. exec
# cmd=$(cat ~/help.txt | fzf) && history -s $cmd && echo $cmd && echo $cmd > ~/help.tmp && . ~/help.tmp
# cmd=$(cat ~/help.txt | fzf) && history -s $cmd && echo $cmd | tee ~/help.tmp && . ~/help.tmp
# cmd=$(cat ~/help.txt | fzf) && history -s $cmd && echo $cmd && eval $cmd
cmd=$(< ~/help.txt fzf) && history -s $cmd && echo $cmd && eval $cmd
source : https://porkmail.org/era/unix/award#uucaletter