Skip to content

Commit 7115572

Browse files
committed
Merge branch 'master' of ssh://github.com/varp/dotfiles
2 parents dc206ad + 821d22a commit 7115572

File tree

8 files changed

+208
-177
lines changed

8 files changed

+208
-177
lines changed

brew/Brewfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ tap "homebrew/cask"
33
tap "homebrew/core"
44
tap "homebrew/services"
55
tap "homebrew/cask-fonts"
6-
tap "shivammathur/php"
7-
brew "tor", restart_service: true
6+
#tap "shivammathur/php"
7+
#brew "tor", restart_service: true
88
brew "p7zip"
99
brew "bash"
1010
brew "bash-completion@2"
@@ -18,9 +18,9 @@ brew "micro"
1818
brew "git"
1919
brew "git-lfs"
2020
brew "node"
21-
brew "composer"
22-
brew "php@7.4"
23-
brew "brew-php-switcher"
21+
#brew "composer"
22+
#brew "php@7.4"
23+
#brew "brew-php-switcher"
2424
brew "go"
2525
brew "minikube"
2626
brew "helm"
@@ -42,7 +42,7 @@ cask "whatsapp"
4242
cask "visual-studio-code"
4343
cask "dropbox"
4444
cask "karabiner-elements"
45-
cask "yandex-disk" # probably stale cask with invalid hash for installer
45+
#cask "yandex-disk" # probably stale cask with invalid hash for installer
4646
cask "1password"
4747
cask "1password/tap/1password-cli"
4848
cask "postman"
@@ -52,4 +52,4 @@ cask "notion"
5252
cask "obsidian"
5353

5454
# fonts
55-
font-jetbrains-mono-nerd-font
55+
cask "font-jetbrains-mono-nerd-font"

dotfiles/config/vscode-styles.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
* {
2+
font-family: "JetBrains Mono", monospace;
3+
}

dotfiles/shell/functions

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,12 @@ _ppath() {
108108
## Shell reload
109109

110110
_reload() {
111-
exec -l $SHELL
111+
shell_name="$(basename "$SHELL")"
112+
if [ "$shell_name" = "zsh" ]; then
113+
source "$HOME/.zshrc"
114+
else
115+
source "$HOME/.bashrc"
116+
fi
112117
}
113118

114119
## shell reload

dotfiles/ssh/config

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,4 @@
1-
Include /Users/vardan.pogosyan/.colima/ssh_config
2-
3-
Host n2-hetzner
4-
HostName n2-hetzner
5-
User alfa-holod
6-
7-
Host nalog@n2-hetzner
8-
HostName n2-hetzner
9-
IdentityFile ~/.ssh/id_rsa
10-
User nalog
11-
12-
Host tg-check@n2-hetzner
13-
HostName n2-hetzner
14-
IdentityFile ~/.ssh/id_rsa
15-
User tg-check
16-
17-
Host alfacheck@n2-hetzner
18-
HostName n2-hetzner
19-
User alfacheck
20-
21-
Host eocheck@n2-hetzner
22-
HostName n2-hetzner
23-
User eocheck
1+
Include ~/.colima/ssh_config
242

253
Host *
264
HostName %h

dotfiles/zshrc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ source "$HOME/.shell/xvm"
1111
##
1212
export ZSH="$HOME/.oh-my-zsh"
1313
export KEEP_ZSHRC="yes"
14-
[[ -d "$ZSH" && -f "$ZSH/oh-my-zsh.sh" ]] || sh -c "export KEEP_ZSHRC=$KEEP_ZSHRC; curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh"
14+
[[ -d "$ZSH" && -f "$ZSH/oh-my-zsh.sh" ]] || sh -c "$(
15+
export KEEP_ZSHRC=$KEEP_ZSHRC
16+
curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh
17+
)"
1518

1619
# Set name of the theme to load --- if set to "random", it will
1720
# load a random theme each time oh-my-zsh is loaded, in which case,
@@ -127,6 +130,9 @@ autoload -Uz bashcompinit && bashcompinit
127130
[[ -f "/usr/local/bin/starship" ]] || curl -sS https://starship.rs/install.sh | sh
128131
eval "$(starship init zsh)"
129132

133+
### custom config which should not be synced with git
134+
[[ -f "$HOME/.zshrc_profile" ]] && source "$HOME/.zshrc_profile"
135+
130136
##
131137
## PATH without duplicates
132138
##

osx/macosx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ defaults write NSGlobalDomain com.apple.springing.delay -float 0.2
3131
defaults write com.apple.dock mouse-over-hilite-stack -bool true
3232

3333
# Minimize windows into their application’s icon
34-
defaults write com.apple.dock minimize-to-application -bool true
34+
defaults write com.apple.dock minimize-to-application -bool false
3535

3636
# Enable spring loading for all Dock items
3737
# defaults write com.apple.dock enable-spring-load-actions-on-all-items -bool true
@@ -45,6 +45,12 @@ defaults write com.apple.dock mru-spaces -bool false
4545
# Automatically hide and show the Dock
4646
# defaults write com.apple.dock autohide -bool true
4747

48+
# Show suggest and recent apps in Dock
49+
defaults write com.apple.dock show-recents -bool false
50+
51+
# Set display position to right
52+
defaults write com.apple.dock orientation -string "right"
53+
4854
# Remove the auto-hiding Dock delay
4955
# defaults write com.apple.dock autohide-delay -float 0.1
5056
# Remove the animation when hiding/showing the Dock

vscode/keybindings.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Place your key bindings in this file to override the defaultsauto[]
1+
// Place your key bindings in this file to override the defaults
22
[
33
{
44
"key": "ctrl+up",
@@ -33,7 +33,7 @@
3333
},
3434
{
3535
"key": "cmd+escape",
36-
"command": "workbench.action.showCommands"
36+
"command": "workbench.action.quickOpen"
3737
},
3838
{
3939
"key": "shift+cmd+a",
@@ -300,5 +300,5 @@
300300
"key": "alt+cmd+r",
301301
"command": "-workbench.action.debug.continue",
302302
"when": "inDebugMode"
303-
},
303+
}
304304
]

0 commit comments

Comments
 (0)