Make as git repo and ignore resources due to copyright reasons

This commit is contained in:
Alex D. 2018-12-27 23:40:35 +01:00
commit c6fcbca0e0
7 changed files with 66 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
resources/

22
conf/custom.zsh Normal file
View File

@ -0,0 +1,22 @@
# Aliases
alias dc="docker-compose"
# Check if running in TTY
case $(tty) in
/dev/tty1)
startx; # Start X server automatically if tty1
;;
/dev/tty[2-9])
export TERM="xterm";
ZSH_THEME="dpoggi"; source $ZSHCONF/resources/dpoggi-timestamp.zsh-theme;
;;
/dev/pts/*)
export TERM="xterm-256color";
ZSH_THEME="powerlevel9k/powerlevel9k"; source $ZSHCONF/resources/powerlevel9k/powerlevel9k.zsh-theme;
#ZSH_THEME="spaceship"; source $ZSHCONF/resources/spaceship-prompt/spaceship.zsh-theme;
neofetch
;;
*)
echo "We did not recognize the terminal type you are currently using!"
;;
esac

3
conf/external.zsh Normal file
View File

@ -0,0 +1,3 @@
source $ZSH/oh-my-zsh.sh
source $ZSHCONF/resources/autosuggestions/zsh-autosuggestions.zsh
source $ZSHCONF/resources/syntax-highlighting/zsh-syntax-highlighting.zsh

14
conf/plugins.zsh Normal file
View File

@ -0,0 +1,14 @@
plugins=(
archlinux
docker
docker-compose
git
golang
history
perms
sudo
systemadmin
systemd
zsh-completions
zsh-syntax-highlighting
)

14
conf/themevars.zsh Normal file
View File

@ -0,0 +1,14 @@
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(
context
dir
vcs
)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(
status
root_indicator
background_jobs
load
ram
command_execution_time
time
)

4
conf/vars.zsh Normal file
View File

@ -0,0 +1,4 @@
export PATH=$HOME/bin:/usr/local/bin:$PATH
export LD_LIBRARY_PATH=/usr/lib32:$LD_LIBRARY_PATH
export ZSH="/home/caskd/.oh-my-zsh"
export LANG="en_US.UTF-8"

8
load.zsh Normal file
View File

@ -0,0 +1,8 @@
export ZSHCONF="/home/caskd/ZSHFiles/conf" # Root
# Variables
source $ZSHCONF/vars.zsh # Enviroment variables
source $ZSHCONF/themevars.zsh # Theme variables
source $ZSHCONF/plugins.zsh # Plugins
source $ZSHCONF/external.zsh # External Sources
source $ZSHCONF/custom.zsh # Custom commands at end