Skip to content

Instantly share code, notes, and snippets.

Ev koesherbacon

Block or report user

Report or block koesherbacon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Tilix 'vte' addon for .bashrc, config.fish, & .zshrc
# 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 / ev.zsh-theme
Last active Apr 3, 2019
My newly zsh theme, 'ev', created by copying the look from my most recent and current Fish prompt
View ev.zsh-theme
###
#
# 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 Apr 3, 2019
My most recent and current zshrc with my 'ev' theme ans Tilix terminal vte thing
View .zshrc
# 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 Apr 3, 2019
My most recent and current Fish prompt for Root
View root.fish_prompt.fish
# 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 Apr 3, 2019
My most recent and current Fish prompt
View fish_prompt.fish
#
# 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
@koesherbacon
koesherbacon / etcher.list
Created Dec 19, 2018
Etcher Apt Source & Info
View etcher.list
#
# 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 Aug 23, 2016
My Fish Aliases enclosed in 'config.fish'
View 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
Created Aug 23, 2016
My Regular FISH Prompt
View fish_prompt.fish
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 / fish_prompt.fish
Last active Aug 23, 2016
Fish ROOT Prompt I made because I was bored
View fish_prompt.fish
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 / .zshrc
Created Mar 4, 2016
my .zshrc (might have to redo with equo instead of dnf)
View .zshrc
## ZSH Theme
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="ev"
## Anytime a change is made to the .zsh plugins below, re-source zsh with this command:
# All sources at once command:
# 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 ; clear
You can’t perform that action at this time.