diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/bright_up.sh b/bright_up.sh old mode 100644 new mode 100755 diff --git a/file_processing/archive_taxes.pl b/file_processing/archive_taxes.pl old mode 100644 new mode 100755 diff --git a/gnome-config.sh b/gnome-config.sh old mode 100644 new mode 100755 diff --git a/gtk.css b/gtk.css old mode 100644 new mode 100755 diff --git a/home_config/.vimrc b/home_config/.vimrc old mode 100644 new mode 100755 diff --git a/home_config/konsole_tabs_colo b/home_config/konsole_tabs_colo old mode 100644 new mode 100755 diff --git a/home_config/ssh_config b/home_config/ssh_config old mode 100644 new mode 100755 diff --git a/home_zsh/.zsh/functions/chpwd_update_git_vars b/home_zsh/.zsh/functions/chpwd_update_git_vars deleted file mode 100755 index 2d24c83..0000000 --- a/home_zsh/.zsh/functions/chpwd_update_git_vars +++ /dev/null @@ -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 diff --git a/home_zsh/.zsh/functions/novahosts b/home_zsh/.zsh/functions/novahosts deleted file mode 100755 index 3fc7c74..0000000 --- a/home_zsh/.zsh/functions/novahosts +++ /dev/null @@ -1 +0,0 @@ -nova list| awk -F'|' {'print $3, $7'} | awk -F ' ' {'printf "%-30s %s\n", $1, $5'} \ No newline at end of file diff --git a/home_zsh/.zsh/functions/novaips b/home_zsh/.zsh/functions/novaips deleted file mode 100755 index d18ba3f..0000000 --- a/home_zsh/.zsh/functions/novaips +++ /dev/null @@ -1 +0,0 @@ -nova list| awk -F'|' {'print $7'} | awk -F ' ' {'print $4'} | grep --color=none 10 \ No newline at end of file diff --git a/home_zsh/.zsh/functions/precmd_update_git_vars b/home_zsh/.zsh/functions/precmd_update_git_vars deleted file mode 100755 index 4db6cd4..0000000 --- a/home_zsh/.zsh/functions/precmd_update_git_vars +++ /dev/null @@ -1,5 +0,0 @@ -if [ -n "$__EXECUTED_GIT_COMMAND" ]; then - update_current_git_vars - unset __EXECUTED_GIT_COMMAND -fi - diff --git a/home_zsh/.zsh/functions/preexec_update_git_vars b/home_zsh/.zsh/functions/preexec_update_git_vars deleted file mode 100755 index 83b0e88..0000000 --- a/home_zsh/.zsh/functions/preexec_update_git_vars +++ /dev/null @@ -1,6 +0,0 @@ -case "$1" in - git*) - __EXECUTED_GIT_COMMAND=1 - ;; -esac - diff --git a/home_zsh/.zsh/functions/prompt_git_info b/home_zsh/.zsh/functions/prompt_git_info deleted file mode 100755 index e5846f6..0000000 --- a/home_zsh/.zsh/functions/prompt_git_info +++ /dev/null @@ -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 - diff --git a/home_zsh/.zsh/functions/update_current_git_vars b/home_zsh/.zsh/functions/update_current_git_vars deleted file mode 100755 index 10faf0f..0000000 --- a/home_zsh/.zsh/functions/update_current_git_vars +++ /dev/null @@ -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 diff --git a/home_zsh/.zsh/functions/vpn b/home_zsh/.zsh/functions/vpn deleted file mode 100755 index 94acc93..0000000 --- a/home_zsh/.zsh/functions/vpn +++ /dev/null @@ -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 -} diff --git a/home_zsh/.zsh/zshalias b/home_zsh/.zsh/zshalias deleted file mode 100644 index a633dfc..0000000 --- a/home_zsh/.zsh/zshalias +++ /dev/null @@ -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' diff --git a/home_zsh/.zshrc b/home_zsh/.zshrc deleted file mode 100644 index 84f7e36..0000000 --- a/home_zsh/.zshrc +++ /dev/null @@ -1,28 +0,0 @@ -# -# Executes commands at the start of an interactive session. -# -# Authors: -# Sorin Ionescu -# - -# 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 diff --git a/home_zsh/README.md b/home_zsh/README.md deleted file mode 100644 index 7729959..0000000 --- a/home_zsh/README.md +++ /dev/null @@ -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 -``` \ No newline at end of file diff --git a/home_zsh/zpreztorc b/home_zsh/zpreztorc deleted file mode 100644 index d836c7a..0000000 --- a/home_zsh/zpreztorc +++ /dev/null @@ -1,231 +0,0 @@ -# -# Sets Prezto options. -# -# Authors: -# Sorin Ionescu -# - -# -# 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' diff --git a/home_zsh/zsh_notes.txt b/home_zsh/zsh_notes.txt deleted file mode 100644 index 40ea5e9..0000000 --- a/home_zsh/zsh_notes.txt +++ /dev/null @@ -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 diff --git a/reset_gtk.sh b/reset_gtk.sh old mode 100644 new mode 100755 diff --git a/selenium_bash/.bashrc b/selenium_bash/.bashrc old mode 100644 new mode 100755 diff --git a/selenium_bash/.profile b/selenium_bash/.profile old mode 100644 new mode 100755 diff --git a/selenium_bash/.rootbashrc b/selenium_bash/.rootbashrc old mode 100644 new mode 100755