Skip to content

Instantly share code, notes, and snippets.

View koesherbacon's full-sized avatar

Ev koesherbacon

View GitHub Profile
@koesherbacon
koesherbacon / ev.zsh-theme
Last active April 3, 2019 10:52
My newly zsh theme, 'ev', created by copying the look from my most recent and current Fish prompt
###
#
# Notes:
#
# This prompt looks EXACTLY like the awesome one I created for Fish. The text following the prompt is also colored the same as the prompt's 'ascii art' as well. I don't know how to create zsh auto-corrects or regular font color or colors for all the variables that Fish is able to use with fish_config.
#
# In order to find the colors, which are set using the '%{$FG[XYZ]%}' command within Prompt, were found using this command which prints many different colored text with a 3-digit next to it. This 3-digie code is zsh's version of #1a2b33 html color codes
# Here's the link to setting up this command, which is then placed into ~/.zshrc and run with the '%{$FG[165]%}' command
# https://gabri.me/blog/custom-colors-in-your-zsh-prompt
# https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/lib/spectrum.zsh
@koesherbacon
koesherbacon / .zshrc
Last active April 3, 2019 10:51
My most recent and current zshrc with my 'ev' theme ans Tilix terminal vte thing
# Notes:
# This .zshrc contain the 'vte' stuff necessary for Tilix Terminator to work properly as well as the theme 'ev'.
# The theme 'ev' was converted over from my awesome Fish theme, which is also avaliable as a gist here!
# In order for 'ev' to work properly, you will also have to copy 'ev.zsh-theme', which again is also available as a gist!
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/manjaro/.oh-my-zsh"
@koesherbacon
koesherbacon / root.fish_prompt.fish
Last active April 3, 2019 10:49
My most recent and current Fish prompt for Root
# This is ROOT's Fish Prompt following the style of my normal user's Fish Prompt
# My normal Fish Prompt is available here: https://gist.github.com/koesherbacon/bed3d8eac49da2d588f0ce4881c60c40
# Created 03-30-19
#
# Note: There's a bunch of commented-out code here. It's there bc it took me a while to make this perfectly and I'm too lazy to bother to remove it!
#
# Here's a preview:
# <TBD>
#
@koesherbacon
koesherbacon / fish_prompt.fish
Last active April 3, 2019 10:49
My most recent and current Fish prompt
#
# This is my newest Fish Prompt
# Created 03-30-19
#
# Here's a preview:
# <TBD>
#
# And here's the code
# this belongs in ~/.config/fish/functions/fish_prompt.fish
# Note: Adding the following to .bashrc, config.fish, & .zshrc will ensure that Tilix Terminal functions perfectly and does not have any problems due to whatever 'vte' is!
# Tilix 'vte'
if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
source /etc/profile.d/vte.sh
fi
@koesherbacon
koesherbacon / etcher.list
Created December 19, 2018 00:36
Etcher Apt Source & Info
#
# This is the apt source for Etcher, the LiveUSB Creation app
# Simply copy this into '/etc/apt/sources.list.d/' then import the gpg key
# and follow the rest of the instructions.
#
# I'll probably make this into a script which will do everthing automatically
# but for now it all has to be done manually.
#
deb https://dl.bintray.com/resin-io/debian stable etcher
@koesherbacon
koesherbacon / config.fish
Created August 23, 2016 04:28
My Fish Aliases enclosed in 'config.fish'
### My Aliases ###
####################################
alias evz="pluma ~/.config/fish/config.fish"
alias configfishbak="cp ~/.config/fish/config.fish ~/.config/fish/config.fish.bak"
alias cfishb="cp ~/.config/fish/config.fish ~/.config/fish/config.fish.bak"
alias fishpromptbak="cp ~/.conf/fish/functions/fish.prompt ~/.conf/fish/functions/fish.prompt.bak"
alias fishpb="cp ~/.conf/fish/functions/fish.prompt ~/.conf/fish/functions/fish.prompt.bak"
alias conf-dnf="sleaf /etc/dnf/dnf.conf"
@koesherbacon
koesherbacon / fish_prompt.fish
Last active August 23, 2016 04:14
Fish ROOT Prompt I made because I was bored
function fish_prompt --description 'Write out the prompt'
set -l last_status $status
echo ''
set_color red
echo '┏━━━━━━━━━━━━━━━━━━┓'
echo '┣━━━ FISH ROOT ━┳━┛'
if not test $last_status -eq 0
@koesherbacon
koesherbacon / fish_prompt.fish
Created August 23, 2016 04:13
My Regular FISH Prompt
function fish_prompt
# Main
echo " "(set_color green)'❨'(set_color magenta)(prompt_pwd)(set_color green)'❩'(set_color yellow)' ❯'(set_color green)'❯'(set_color magenta)'❯ '
end
# screenshot available here: http://imgur.com/uzLsmhO
@koesherbacon
koesherbacon / ev-aliases.plugin.zsh
Last active May 6, 2016 18:35
my zsh aliases (need to redo with expo instead of dnf)
## Ev's Aliases
#### Remember to re-source zsh after making any changes with this commands:
#### source $ZSH/oh-my-zsh.sh ; source /home/ev/.oh-my-zsh/plugins/ev-aliases/ev-aliases.plugin.zsh ; source /home/ev/.oh-my-zsh/plugins/extract/extract.plugin.zsh ; source /home/ev/.oh-my-zsh/plugins/colorize/colorize.plugin.zsh ; source /home/ev/.oh-my-zsh/plugins/zsh-autosuggestions ; source /home/ev/.oh-my-zsh/plugins/zsh-completions/zsh-completions.plugin.zsh ; clear
#### These commands should also work, assuming ev-aliases have already been sourced before:
#### allsource
#### sourceall
####