This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
autoload -U add-zsh-hook | |
load-nvmrc() { | |
local node_version="$(nvm version)" | |
local nvmrc_path="$(nvm_find_nvmrc)" | |
if [ -n "$nvmrc_path" ]; then | |
local nvmrc_node_version=$(nvm version "$(cat "${nvmrc_path}")") | |
if [ "$nvmrc_node_version" = "N/A" ]; then | |
nvm install | |
elif [ "$nvmrc_node_version" != "$node_version" ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Put these lilnes into .config/gtk-3.0/gtk.css file | |
(Probably you'll need to create it) | |
*/ | |
.terminator-terminal-window notebook tab { | |
background-color: #383c4a; | |
padding: 0.2em; | |
border: none; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Replace this line in your .zshrc/ Requires ohmyzsh pack | |
plugins=(git zsh-autosuggestions nvm alias-tips command-not-found composer dirhistory golang history laravel npm yarn) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for dir in $(find $1 -type d) | |
do | |
cd $dir | |
for file in $(find . -maxdepth 1 -type f | tr '[A-Z]' '[a-z]'| sed "s#./##" | sort -u) | |
do | |
if [ $(ls|grep -iwc $file) -gt 1 ] | |
then | |
echo "$dir" | |
ls|grep -iw $file |