Skip to content

Commit

Permalink
Renewal (#2)
Browse files Browse the repository at this point in the history
* Update files
  • Loading branch information
sadah authored Jan 8, 2022
1 parent 767fa4c commit 244ab96
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 9 deletions.
29 changes: 26 additions & 3 deletions .Brewfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,37 @@
tap "aws/tap"
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/cask-fonts"
tap "homebrew/core"
brew "sqlite"
brew "[email protected]"
brew "glib"
brew "coreutils"
brew "direnv"
brew "fish"
brew "gdk-pixbuf"
brew "gh"
brew "git"
brew "libgcrypt"
brew "gnupg"
brew "go"
brew "graphviz"
brew "graphviz"q
brew "hugo"
brew "libssh2"
brew "mint"
brew "protobuf"
brew "mysql"
brew "node"
brew "nodebrew"
brew "peco"
brew "plantuml"
brew "ruby-build"
brew "rbenv"
brew "redis"
brew "tig"
brew "tree"
brew "yarn"
brew "aws/tap/aws-sam-cli"
cask "adoptopenjdk"
cask "font-cica"
cask "font-hack-nerd-font"
cask "font-cica"
cask "font-inconsolata"
19 changes: 16 additions & 3 deletions .gitconfig
Original file line number Diff line number Diff line change
@@ -1,14 +1,27 @@
[include]
path = ~/.gitconfig.user

[url "[email protected]:"]
insteadOf = https://github.com/

[color]
ui = true
diff = auto
status = auto
branch = auto
grep = auto

[core]
excludesfile = ~/.gitignore
editor = vim

[push]
default = current
[user]
name = sadah
email = [email protected]

[alias]
st = status
co = checkout
br = branch

[init]
defaultBranch = main
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
*.DS_Store
*.idea
*.env
*.envrc
internal.fish
10 changes: 8 additions & 2 deletions fish.sh → fish.fish
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ fish -c "omf install https://github.com/jhillyerd/plugin-git"
fish -c "omf install bobthefish"

set fish_path (which fish)
echo "Add fish pach to /etc/shells"
sudo sh -c "echo $fish_path >> /etc/shells"

if grep -q "fish" /etc/shells
echo "Found fish in /etc/shells"
else
echo "Add fish path to /etc/shells"
sudo sh -c "echo $fish_path >> /etc/shells"
end

echo "chsh -s $fish_path"
chsh -s $fish_path
10 changes: 10 additions & 0 deletions fish/config.fish
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,14 @@ set -g fish_color_valid_path
set -g theme_color_scheme dracula
set -g theme_date_format "+%Y/%m/%d %H:%M:%S"

# https://github.com/fish-shell/fish-shell/issues/5593
bind \cd delete-char

source $HOME/.alias

# Go
set -gx GOPATH $HOME/go
set -gx PATH $PATH $GOPATH/bin

# Internal Settings
if [ -f './internal.fish' ]; . './internal.fish'; end
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ which brew >/dev/null 2>&1 && brew update --verbose
which brew >/dev/null 2>&1 && brew bundle --global --verbose

# fish
which fish >/dev/null 2>&1 && fish fish.sh
which fish >/dev/null 2>&1 && fish fish.fish

0 comments on commit 244ab96

Please sign in to comment.