te4gh0st 1 éve
szülő
commit
0acbced3ef
4 módosított fájl, 20 hozzáadás és 38 törlés
  1. 12 13
      zsh/config_installer.sh
  2. BIN
      zsh/te4gh0st
  3. 0 23
      zsh/te4gh0st.py
  4. 8 2
      zsh/zshrc

+ 12 - 13
zsh/config_installer.sh

@@ -1,13 +1,16 @@
 #!/bin/bash
 
-#	$$$$$$$$\ $$$$$$$$\   $$\             $$\        $$$$$$\              $$\     
-#	\__$$  __|$$  _____|$$$$ |            $$ |      $$$ __$$\             $$ |    
-#	   $$ |   $$ |      \_$$ |   $$$$$$$\ $$$$$$$\  $$$$\ $$ | $$$$$$$\ $$$$$$\   
-#	   $$ |   $$$$$\      $$ |  $$  _____|$$  __$$\ $$\$$\$$ |$$  _____|\_$$  _|  
-#	   $$ |   $$  __|     $$ |  $$ /      $$ |  $$ |$$ \$$$$ |\$$$$$$\    $$ |    
-#	   $$ |   $$ |        $$ |  $$ |      $$ |  $$ |$$ |\$$$ | \____$$\   $$ |$$\ 
-#	   $$ |   $$$$$$$$\ $$$$$$\ \$$$$$$$\ $$ |  $$ |\$$$$$$  /$$$$$$$  |  \$$$$  |
-#	   \__|   \________|\______| \_______|\__|  \__| \______/ \_______/    \____/  
+#   $$\               $$\   $$\           $$\        $$$$$$\              $$\     
+#   $$ |              $$ |  $$ |          $$ |      $$$ __$$\             $$ |    
+# $$$$$$\    $$$$$$\  $$ |  $$ | $$$$$$\  $$$$$$$\  $$$$\ $$ | $$$$$$$\ $$$$$$\   
+# \_$$  _|  $$  __$$\ $$$$$$$$ |$$  __$$\ $$  __$$\ $$\$$\$$ |$$  _____|\_$$  _|  
+#   $$ |    $$$$$$$$ |\_____$$ |$$ /  $$ |$$ |  $$ |$$ \$$$$ |\$$$$$$\    $$ |    
+#   $$ |$$\ $$   ____|      $$ |$$ |  $$ |$$ |  $$ |$$ |\$$$ | \____$$\   $$ |$$\ 
+#   \$$$$  |\$$$$$$$\       $$ |\$$$$$$$ |$$ |  $$ |\$$$$$$  /$$$$$$$  |  \$$$$  |
+#    \____/  \_______|      \__| \____$$ |\__|  \__| \______/ \_______/    \____/ 
+#                               $$\   $$ |                                        
+#                               \$$$$$$  |                                        
+#                                \______/                                         
 
 # Plugins
 git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
@@ -16,10 +19,6 @@ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:
 # logo
 mkdir -p ~/.te4gh0st
 cp -f te4gh0st.py ~/.te4gh0st/te4gh0st.py
-chmod +x ~/.te4gh0st/te4gh0st.py
+chmod +x ~/.te4gh0st/te4gh0st
 cp -f zshrc ~/.zshrc
-sudo apt install python3
-sudo apt install python3-pip
-sudo pip3 install colorama
-
 echo "ZSH config is installed!"

BIN
zsh/te4gh0st


+ 0 - 23
zsh/te4gh0st.py

@@ -1,23 +0,0 @@
-#!/usr/bin/python3
-
-from colorama import Fore, Back, Style, init
-
-init(autoreset=True)
-
-logo = '''
-  $$\               $$\   $$\           $$\        $$$$$$\              $$\     
-  $$ |              $$ |  $$ |          $$ |      $$$ __$$\             $$ |    
-$$$$$$\    $$$$$$\  $$ |  $$ | $$$$$$\  $$$$$$$\  $$$$\ $$ | $$$$$$$\ $$$$$$\   
-\_$$  _|  $$  __$$\ $$$$$$$$ |$$  __$$\ $$  __$$\ $$\$$\$$ |$$  _____|\_$$  _|  
-  $$ |    $$$$$$$$ |\_____$$ |$$ /  $$ |$$ |  $$ |$$ \$$$$ |\$$$$$$\    $$ |    
-  $$ |$$\ $$   ____|      $$ |$$ |  $$ |$$ |  $$ |$$ |\$$$ | \____$$\   $$ |$$\ 
-  \$$$$  |\$$$$$$$\       $$ |\$$$$$$$ |$$ |  $$ |\$$$$$$  /$$$$$$$  |  \$$$$  |
-   \____/  \_______|      \__| \____$$ |\__|  \__| \______/ \_______/    \____/ 
-                              $$\   $$ |                                        
-                              \$$$$$$  |                                        
-                               \______/                                         
-'''
-print(Fore.RED + logo)
-print(Fore.RED + ''.center(78, '-'))
-print(Back.BLACK + Fore.WHITE + 'Welcome'.center(78))
-print(Fore.RED + ''.center(78, '-'))

+ 8 - 2
zsh/zshrc

@@ -19,14 +19,20 @@ export ZSH="$HOME/.oh-my-zsh"
 # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
 ZSH_THEME="agnoster"
 
-plugins=(git sudo zsh-autosuggestions zsh-syntax-highlighting)
+plugins=(git sudo zsh-autosuggestions zsh-syntax-highlighting docker-compose docker golang magic-enter extract )
 source $ZSH/oh-my-zsh.sh
 
+zstyle ':completion:*:*:docker:*' option-stacking yes
+zstyle ':completion:*:*:docker-*:*' option-stacking yes
+# defaults
+MAGIC_ENTER_GIT_COMMAND='git status -u .'
+MAGIC_ENTER_OTHER_COMMAND='ls -lh .'
+
 # Example aliases
 # alias zshconfig="mate ~/.zshrc"
 # alias ohmyzsh="mate ~/.oh-my-zsh"
 
 #te4gh0st logo in start
-~/.te4gh0st/te4gh0st.py
+~/.te4gh0st/te4gh0st
 
 alias ports="sudo lsof -nP -iTCP -sTCP:LISTEN"