Adding missing files. Removing old zsh dir
This commit is contained in:
parent
a94628379f
commit
b4e7c7d356
25 changed files with 0 additions and 395 deletions
0
README.md
Normal file → Executable file
0
README.md
Normal file → Executable file
0
bright_up.sh
Normal file → Executable file
0
bright_up.sh
Normal file → Executable file
0
file_processing/archive_taxes.pl
Normal file → Executable file
0
file_processing/archive_taxes.pl
Normal file → Executable file
0
gnome-config.sh
Normal file → Executable file
0
gnome-config.sh
Normal file → Executable file
0
gtk.css
Normal file → Executable file
0
gtk.css
Normal file → Executable file
0
home_config/.vimrc
Normal file → Executable file
0
home_config/.vimrc
Normal file → Executable file
0
home_config/konsole_tabs_colo
Normal file → Executable file
0
home_config/konsole_tabs_colo
Normal file → Executable file
0
home_config/ssh_config
Normal file → Executable file
0
home_config/ssh_config
Normal file → Executable file
|
|
@ -1,4 +0,0 @@
|
||||||
# update the prompt after changing to a new directory.
|
|
||||||
# http://sebastiancelis.com/2009/11/16/zsh-prompt-git-users/
|
|
||||||
|
|
||||||
update_current_git_vars
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
nova list| awk -F'|' {'print $3, $7'} | awk -F ' ' {'printf "%-30s %s\n", $1, $5'}
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
nova list| awk -F'|' {'print $7'} | awk -F ' ' {'print $4'} | grep --color=none 10
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
if [ -n "$__EXECUTED_GIT_COMMAND" ]; then
|
|
||||||
update_current_git_vars
|
|
||||||
unset __EXECUTED_GIT_COMMAND
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
case "$1" in
|
|
||||||
git*)
|
|
||||||
__EXECUTED_GIT_COMMAND=1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
|
|
@ -1,32 +0,0 @@
|
||||||
# Git prompt stuff
|
|
||||||
# http://sebastiancelis.com/2009/11/16/zsh-prompt-git-users/
|
|
||||||
|
|
||||||
if [ -n "$__CURRENT_GIT_BRANCH" ]; then
|
|
||||||
local s="("
|
|
||||||
s+="$__CURRENT_GIT_BRANCH"
|
|
||||||
case "$__CURRENT_GIT_BRANCH_STATUS" in
|
|
||||||
ahead)
|
|
||||||
git_color="%{${fg[yellow]}%}"
|
|
||||||
s+="↑"
|
|
||||||
;;
|
|
||||||
diverged)
|
|
||||||
git_color="%{${fg[yellow]}%}"
|
|
||||||
s+="↕"
|
|
||||||
;;
|
|
||||||
behind)
|
|
||||||
git_color="%{${fg[yellow]}%}"
|
|
||||||
s+="↓"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
if [ -n "$__CURRENT_GIT_BRANCH_IS_CLEAN" ]; then
|
|
||||||
git_color="%{${fg[green]}%}"
|
|
||||||
fi
|
|
||||||
if [ -n "$__CURRENT_GIT_BRANCH_IS_DIRTY" ]; then
|
|
||||||
git_color="%{${fg[red]}%}"
|
|
||||||
s+="⚡"
|
|
||||||
fi
|
|
||||||
s+=")"
|
|
||||||
|
|
||||||
printf " %s%s" "$git_color" $s
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
@ -1,37 +0,0 @@
|
||||||
# This file is used to set a few environment variables which will make it easy to build up our prompt
|
|
||||||
# http://sebastiancelis.com/2009/11/16/zsh-prompt-git-users/
|
|
||||||
|
|
||||||
unset __CURRENT_GIT_BRANCH
|
|
||||||
unset __CURRENT_GIT_BRANCH_STATUS
|
|
||||||
unset __CURRENT_GIT_BRANCH_IS_DIRTY
|
|
||||||
|
|
||||||
local st="$(git status 2>/dev/null)"
|
|
||||||
|
|
||||||
if [[ -n "$st" ]]; then
|
|
||||||
local -a arr
|
|
||||||
arr=(${(f)st})
|
|
||||||
if [[ $arr[1] =~ 'Not currently on any branch.' ]]; then
|
|
||||||
__CURRENT_GIT_BRANCH='no-branch'
|
|
||||||
else
|
|
||||||
__CURRENT_GIT_BRANCH="${arr[1][(w)4]}";
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ $st =~ 'nothing to commit, working directory clean' ]]; then
|
|
||||||
__CURRENT_GIT_BRANCH_IS_CLEAN='1'
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ $arr[2] =~ 'Your branch is' ]]; then
|
|
||||||
if [[ $arr[2] =~ 'ahead' ]]; then
|
|
||||||
__CURRENT_GIT_BRANCH_STATUS='ahead'
|
|
||||||
elif [[ $arr[2] =~ 'diverged' ]]; then
|
|
||||||
__CURRENT_GIT_BRANCH_STATUS='diverged'
|
|
||||||
else
|
|
||||||
__CURRENT_GIT_BRANCH_STATUS='behind'
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ ! $st =~ 'nothing to commit' ]]; then
|
|
||||||
__CURRENT_GIT_BRANCH_IS_DIRTY='1'
|
|
||||||
fi
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
# vpn functions
|
|
||||||
tuntapme () {
|
|
||||||
sudo ip tuntap add vpn0 mode tun user tracey
|
|
||||||
}
|
|
||||||
vpn () {
|
|
||||||
sudo openconnect --juniper -i vpn0 -s 'sudo -E /usr/share/vpnc-scripts/vpnc-script' --useragent 'Mozilla/5.0 (Linux) Firefox' --csd-wrapper=tncc.py https://secureaccess.cpanel.net/dana-na/auth/url_1/welcome.cgi
|
|
||||||
}
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
alias ls='ls --color=auto'
|
|
||||||
alias grep='grep --color=auto'
|
|
||||||
alias fgrep='fgrep --color=auto'
|
|
||||||
alias egrep='egrep --color=auto'
|
|
||||||
alias ll='ls -alFh --group-directories-first'
|
|
||||||
alias la='ls -A'
|
|
||||||
alias l='ls -CF'
|
|
||||||
alias colo='ssh cp'
|
|
||||||
alias server='ssh host'
|
|
||||||
alias colosync='ssh syncthing@cp'
|
|
||||||
alias mountpi='sshfs -o idmap=user pi@pi3:/home/pi /home/tracey/pi3'
|
|
||||||
alias unpi='fusermount -u /home/tracey/pi3'
|
|
||||||
alias aptup='sudo zsh -c "apt update&&apt upgrade&&apt autoremove"'
|
|
||||||
alias fixkde='DISPLAY=:0 kwin --replace &'
|
|
||||||
alias gitco='git checkout'
|
|
||||||
alias neonup='pkcon refresh && pkcon update'
|
|
||||||
alias colokontabs='konsole --tabs-from-file ~/git/shell-scripts/home_config/konsole_tabs_colo &'
|
|
||||||
alias colokon='konsole --profile Mikado -e $SHELL -c "echo Hallo Tracey ; ssh cp"'
|
|
||||||
alias zpreztoup='cd /home/tracey/.zprezto && git fetch origin && git merge origin --ff-only && git submodule update --remote --init --recursive'
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
||||||
#
|
|
||||||
# Executes commands at the start of an interactive session.
|
|
||||||
#
|
|
||||||
# Authors:
|
|
||||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
|
||||||
#
|
|
||||||
|
|
||||||
# Source Prezto.
|
|
||||||
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
|
|
||||||
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Load aliases
|
|
||||||
if [ -f ~/.zsh/zshalias ]; then
|
|
||||||
source ~/.zsh/zshalias
|
|
||||||
else
|
|
||||||
print "404: ~/.zsh/zshalias not found."
|
|
||||||
fi
|
|
||||||
|
|
||||||
# For tilix vte support
|
|
||||||
if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
|
|
||||||
source /etc/profile.d/vte.sh
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Necessary for loading custom prezto theme
|
|
||||||
autoload -Uz promptinit
|
|
||||||
promptinit
|
|
||||||
prompt paradox
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
# zsh setup
|
|
||||||
|
|
||||||
Copy the zpreztorc here:
|
|
||||||
|
|
||||||
```zsh
|
|
||||||
❯ ll ~/.zpreztorc
|
|
||||||
lrwxrwxrwx 1 tracey tracey 39 May 20 12:01 /home/tracey/.zpreztorc -> /home/tracey/.zprezto/runcoms/zpreztorc
|
|
||||||
```
|
|
||||||
|
|
@ -1,231 +0,0 @@
|
||||||
#
|
|
||||||
# Sets Prezto options.
|
|
||||||
#
|
|
||||||
# Authors:
|
|
||||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# General
|
|
||||||
#
|
|
||||||
|
|
||||||
# Set case-sensitivity for completion, history lookup, etc.
|
|
||||||
# zstyle ':prezto:*:*' case-sensitive 'yes'
|
|
||||||
|
|
||||||
# Color output (auto set to 'no' on dumb terminals).
|
|
||||||
zstyle ':prezto:*:*' color 'yes'
|
|
||||||
|
|
||||||
# Add additional directories to load prezto modules from
|
|
||||||
#zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib
|
|
||||||
|
|
||||||
# Set the Zsh modules to load (man zshmodules).
|
|
||||||
zstyle ':prezto:load' zmodule 'attr' 'stat'
|
|
||||||
|
|
||||||
# Set the Zsh functions to load (man zshcontrib).
|
|
||||||
# zstyle ':prezto:load' zfunction 'zargs' 'zmv'
|
|
||||||
|
|
||||||
# Set the Prezto modules to load (browse modules).
|
|
||||||
# The order matters.
|
|
||||||
zstyle ':prezto:load' pmodule \
|
|
||||||
'environment' \
|
|
||||||
'terminal' \
|
|
||||||
'editor' \
|
|
||||||
'history' \
|
|
||||||
'directory' \
|
|
||||||
'spectrum' \
|
|
||||||
'utility' \
|
|
||||||
'ssh' \
|
|
||||||
'completion' \
|
|
||||||
'git' \
|
|
||||||
'syntax-highlighting' \
|
|
||||||
'history-substring-search' \
|
|
||||||
'prompt'
|
|
||||||
|
|
||||||
#
|
|
||||||
# Autosuggestions
|
|
||||||
#
|
|
||||||
|
|
||||||
# Set the query found color.
|
|
||||||
# zstyle ':prezto:module:autosuggestions:color' found ''
|
|
||||||
|
|
||||||
#
|
|
||||||
# Completions
|
|
||||||
#
|
|
||||||
|
|
||||||
# Set the entries to ignore in static */etc/hosts* for host completion.
|
|
||||||
# zstyle ':prezto:module:completion:*:hosts' etc-host-ignores \
|
|
||||||
# '0.0.0.0' '127.0.0.1'
|
|
||||||
|
|
||||||
#
|
|
||||||
# Editor
|
|
||||||
#
|
|
||||||
|
|
||||||
# Set the key mapping style to 'emacs' or 'vi'.
|
|
||||||
zstyle ':prezto:module:editor' key-bindings 'emacs'
|
|
||||||
|
|
||||||
# Auto convert .... to ../..
|
|
||||||
# zstyle ':prezto:module:editor' dot-expansion 'yes'
|
|
||||||
|
|
||||||
# Allow the zsh prompt context to be shown.
|
|
||||||
#zstyle ':prezto:module:editor' ps-context 'yes'
|
|
||||||
|
|
||||||
#
|
|
||||||
# Git
|
|
||||||
#
|
|
||||||
|
|
||||||
# Ignore submodules when they are 'dirty', 'untracked', 'all', or 'none'.
|
|
||||||
# zstyle ':prezto:module:git:status:ignore' submodules 'all'
|
|
||||||
|
|
||||||
#
|
|
||||||
# GNU Utility
|
|
||||||
#
|
|
||||||
|
|
||||||
# Set the command prefix on non-GNU systems.
|
|
||||||
# zstyle ':prezto:module:gnu-utility' prefix 'g'
|
|
||||||
|
|
||||||
#
|
|
||||||
# History Substring Search
|
|
||||||
#
|
|
||||||
|
|
||||||
# Set the query found color.
|
|
||||||
# zstyle ':prezto:module:history-substring-search:color' found ''
|
|
||||||
|
|
||||||
# Set the query not found color.
|
|
||||||
# zstyle ':prezto:module:history-substring-search:color' not-found ''
|
|
||||||
|
|
||||||
# Set the search globbing flags.
|
|
||||||
# zstyle ':prezto:module:history-substring-search' globbing-flags ''
|
|
||||||
|
|
||||||
#
|
|
||||||
# macOS
|
|
||||||
#
|
|
||||||
|
|
||||||
# Set the keyword used by `mand` to open man pages in Dash.app
|
|
||||||
# zstyle ':prezto:module:osx:man' dash-keyword 'manpages'
|
|
||||||
|
|
||||||
#
|
|
||||||
# Pacman
|
|
||||||
#
|
|
||||||
|
|
||||||
# Set the Pacman frontend.
|
|
||||||
# zstyle ':prezto:module:pacman' frontend 'yaourt'
|
|
||||||
|
|
||||||
#
|
|
||||||
# Prompt
|
|
||||||
#
|
|
||||||
|
|
||||||
# Set the prompt theme to load.
|
|
||||||
# Setting it to 'random' loads a random theme.
|
|
||||||
# Auto set to 'off' on dumb terminals.
|
|
||||||
zstyle ':prezto:module:prompt' theme 'sorin'
|
|
||||||
|
|
||||||
# Set the working directory prompt display length.
|
|
||||||
# By default, it is set to 'short'. Set it to 'long' (without '~' expansion)
|
|
||||||
# for longer or 'full' (with '~' expansion) for even longer prompt display.
|
|
||||||
# zstyle ':prezto:module:prompt' pwd-length 'short'
|
|
||||||
|
|
||||||
# Set the prompt to display the return code along with an indicator for non-zero
|
|
||||||
# return codes. This is not supported by all prompts.
|
|
||||||
# zstyle ':prezto:module:prompt' show-return-val 'yes'
|
|
||||||
|
|
||||||
#
|
|
||||||
# Python
|
|
||||||
#
|
|
||||||
|
|
||||||
# Auto switch the Python virtualenv on directory change.
|
|
||||||
# zstyle ':prezto:module:python:virtualenv' auto-switch 'yes'
|
|
||||||
|
|
||||||
# Automatically initialize virtualenvwrapper if pre-requisites are met.
|
|
||||||
# zstyle ':prezto:module:python:virtualenv' initialize 'yes'
|
|
||||||
|
|
||||||
#
|
|
||||||
# Ruby
|
|
||||||
#
|
|
||||||
|
|
||||||
# Auto switch the Ruby version on directory change.
|
|
||||||
# zstyle ':prezto:module:ruby:chruby' auto-switch 'yes'
|
|
||||||
|
|
||||||
#
|
|
||||||
# Screen
|
|
||||||
#
|
|
||||||
|
|
||||||
# Auto start a session when Zsh is launched in a local terminal.
|
|
||||||
# zstyle ':prezto:module:screen:auto-start' local 'yes'
|
|
||||||
|
|
||||||
# Auto start a session when Zsh is launched in a SSH connection.
|
|
||||||
# zstyle ':prezto:module:screen:auto-start' remote 'yes'
|
|
||||||
|
|
||||||
#
|
|
||||||
# SSH
|
|
||||||
#
|
|
||||||
|
|
||||||
# Set the SSH identities to load into the agent.
|
|
||||||
# zstyle ':prezto:module:ssh:load' identities 'id_rsa' 'id_rsa2' 'id_github'
|
|
||||||
zstyle ':prezto:module:ssh:load' identities 'tlc_server' 'tlc_cp_server' 'id_tlc_gitea'
|
|
||||||
echo 'Loaded the identities'
|
|
||||||
echo `ssh-add -l`
|
|
||||||
|
|
||||||
#
|
|
||||||
# Syntax Highlighting
|
|
||||||
#
|
|
||||||
|
|
||||||
# Set syntax highlighters.
|
|
||||||
# By default, only the main highlighter is enabled.
|
|
||||||
# zstyle ':prezto:module:syntax-highlighting' highlighters \
|
|
||||||
# 'main' \
|
|
||||||
# 'brackets' \
|
|
||||||
# 'pattern' \
|
|
||||||
# 'line' \
|
|
||||||
# 'cursor' \
|
|
||||||
# 'root'
|
|
||||||
#
|
|
||||||
# Set syntax highlighting styles.
|
|
||||||
# zstyle ':prezto:module:syntax-highlighting' styles \
|
|
||||||
# 'builtin' 'bg=blue' \
|
|
||||||
# 'command' 'bg=blue' \
|
|
||||||
# 'function' 'bg=blue'
|
|
||||||
#
|
|
||||||
# Set syntax pattern styles.
|
|
||||||
# zstyle ':prezto:module:syntax-highlighting' pattern \
|
|
||||||
# 'rm*-rf*' 'fg=white,bold,bg=red'
|
|
||||||
|
|
||||||
#
|
|
||||||
# Terminal
|
|
||||||
#
|
|
||||||
|
|
||||||
# Auto set the tab and window titles.
|
|
||||||
# zstyle ':prezto:module:terminal' auto-title 'yes'
|
|
||||||
|
|
||||||
# Set the window title format.
|
|
||||||
# zstyle ':prezto:module:terminal:window-title' format '%n@%m: %s'
|
|
||||||
|
|
||||||
# Set the tab title format.
|
|
||||||
# zstyle ':prezto:module:terminal:tab-title' format '%m: %s'
|
|
||||||
|
|
||||||
# Set the terminal multiplexer title format.
|
|
||||||
# zstyle ':prezto:module:terminal:multiplexer-title' format '%s'
|
|
||||||
|
|
||||||
#
|
|
||||||
# Tmux
|
|
||||||
#
|
|
||||||
|
|
||||||
# Auto start a session when Zsh is launched in a local terminal.
|
|
||||||
# zstyle ':prezto:module:tmux:auto-start' local 'yes'
|
|
||||||
|
|
||||||
# Auto start a session when Zsh is launched in a SSH connection.
|
|
||||||
# zstyle ':prezto:module:tmux:auto-start' remote 'yes'
|
|
||||||
|
|
||||||
# Integrate with iTerm2.
|
|
||||||
# zstyle ':prezto:module:tmux:iterm' integrate 'yes'
|
|
||||||
|
|
||||||
# Set the default session name:
|
|
||||||
# zstyle ':prezto:module:tmux:session' name 'YOUR DEFAULT SESSION NAME'
|
|
||||||
|
|
||||||
#
|
|
||||||
# Utility
|
|
||||||
#
|
|
||||||
|
|
||||||
# Enabled safe options. This aliases cp, ln, mv and rm so that they prompt
|
|
||||||
# before deleting or overwriting files. Set to 'no' to disable this safer
|
|
||||||
# behavior.
|
|
||||||
zstyle ':prezto:module:utility' safe-ops 'no'
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
#zsh notes
|
|
||||||
https://wiki.archlinux.org/index.php/Zsh
|
|
||||||
|
|
||||||
This is an example of a two-sided prompt:
|
|
||||||
|
|
||||||
PROMPT='%F{red}%n%f@%F{blue}%m%f %F{yellow}%1~%f %# '
|
|
||||||
RPROMPT='[%F{yellow}%?%f]'
|
|
||||||
|
|
||||||
And here's how it will be displayed:
|
|
||||||
|
|
||||||
username@host ~ % [0]
|
|
||||||
|
|
||||||
## cron script to pull updates
|
|
||||||
|
|
||||||
|
|
||||||
cd ~/.zprezto && git pull && git submodule update --init --recursive
|
|
||||||
0
reset_gtk.sh
Normal file → Executable file
0
reset_gtk.sh
Normal file → Executable file
0
selenium_bash/.bashrc
Normal file → Executable file
0
selenium_bash/.bashrc
Normal file → Executable file
0
selenium_bash/.profile
Normal file → Executable file
0
selenium_bash/.profile
Normal file → Executable file
0
selenium_bash/.rootbashrc
Normal file → Executable file
0
selenium_bash/.rootbashrc
Normal file → Executable file
Loading…
Add table
Add a link
Reference in a new issue