diff options
-rw-r--r-- | bash_functions.d/list_x_fonts.sh | 5 | ||||
-rw-r--r-- | inputrc | 56 | ||||
-rw-r--r-- | profile | 26 |
3 files changed, 85 insertions, 2 deletions
diff --git a/bash_functions.d/list_x_fonts.sh b/bash_functions.d/list_x_fonts.sh new file mode 100644 index 0000000..6c7804b --- /dev/null +++ b/bash_functions.d/list_x_fonts.sh @@ -0,0 +1,5 @@ +#/bin/sh + +list_x_fonts() { + fc-list | cut -f2 -d: | sort -u |grep -i Mono +} @@ -0,0 +1,56 @@ +#cito M:600 O:1000 G:1000 T:$HOME/.inputrc +#------------------------------------------------------------------------------ +# Project Name - BashConfig/misc/.inputrc +# Started On - Tue 16 Jan 22:16:00 GMT 2018 +# Last Change - Sat 7 Nov 00:27:05 GMT 2020 +# Author E-Mail - terminalforlife@yahoo.com +# Author GitHub - https://github.com/terminalforlife +#------------------------------------------------------------------------------ + +set bell-style audible +set colored-stats On +set comment-begin '#' +set completion-ignore-case On +set completion-prefix-display-length 0 +set completion-query-items 50 +set convert-meta On +set disable-completion Off +set editing-mode emacs +set echo-control-characters Off +set enable-keypad Off +set enable-meta-key On +set expand-tilde Off +set history-preserve-point Off +set history-size 1000 +set horizontal-scroll-mode Off +set input-meta Off +set isearch-terminators 'C-[C-J' +set keymap emacs +set keyseq-timeout 500 +set mark-directories On +set mark-modified-lines Off +set mark-symlinked-directories On +set match-hidden-files Off +set menu-complete-display-prefix Off +set output-meta Off +set page-completions Off +set print-completions-horizontally On +set revert-all-at-newline Off +set show-all-if-ambiguous On +set show-all-if-unmodified On +set show-mode-in-prompt Off +set skip-completed-text On +set visible-stats On + +$if mode=emacs + "\e[1~": beginning-of-line + "\e[4~": end-of-line + "\e[3~": delete-char + "\e[2~": quoted-insert + "\e[1;5C": forward-word + "\e[1;5D": backward-word + "\e[5C": forward-word + "\e[5D": backward-word + "\e\e[C": forward-word + "\e\e[D": backward-word +$endif @@ -2,6 +2,28 @@ # # sh/ksh initialization -PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games -export PATH HOME TERM +{ # from https://github.com/terminalforlife config + # The RHEL recommended umask for much more safety when creating new files + # and directories. This is the equivalent of octal 700 and 600 for + # directories and files, respectively; drwx------ and -rw-------. + umask 0077 + + # Set up the SSH agent for key management. + if eval `ssh-agent -s`; then + # Only want to add keys on an SSH client, not the server. + if [ "$HOSTNAME" == 'x1bsd.my.domain' ]; then + [ -z "$SSH_TTY" ] && ssh-add "$HOME"/.ssh/id_rsa + fi + trap 'kill $SSH_AGENT_PID' EXIT + fi + + . "$HOME"/.bashrc + + PATH+=":$HOME/bin" +} &> /dev/null + + +#PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games +PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games +export PATH HOME export ENV=$HOME/.kshrc |