https://github.com/skarlso/devops
Scripts I use for building stuff.
https://github.com/skarlso/devops
bash devops vim zsh
Last synced: 11 days ago
JSON representation
Scripts I use for building stuff.
- Host: GitHub
- URL: https://github.com/skarlso/devops
- Owner: Skarlso
- Created: 2015-10-26T11:53:28.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-04-07T07:53:29.000Z (about 5 years ago)
- Last Synced: 2025-03-21T04:13:43.181Z (about 1 year ago)
- Topics: bash, devops, vim, zsh
- Language: Shell
- Size: 434 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DevOps
Various scripts and settings I use for building software.
Also, vim.
Install https://github.com/sindresorhus/pure.
Note, this has to go in ZSHRC:
```bash
# ZSH_THEME=""
...
...
# Loading plugins
source $ZSH/oh-my-zsh.sh
# User configuration
autoload -U promptinit; promptinit
autoload -Uz compinit && compinit
prompt pure
```
Note, plugins are loaded first, than oh-my-zsh.sh and than the rest. This is because fpath is set later on. So stuff that I'm
putting into oh-my-zsh/functions is not loaded otherwise. The two files, async and prompt.
Tmux Docker marrige:
```bash
tmux new -d -s minecraft 'docker exec -it mc_server3 java -jar minecraft_server.jar nogui'
```
Using tmuxp to manage tmux sessions and auto start them with the right commands already running:
https://tmuxp.git-pull.com/en/latest/examples.html
```yaml
start_directory: "~/code/"
session_name: devel
windows:
- window_name: Kube
layout: main-vertical
focus: true
automatic-rename: 'off'
shell_command_before:
- wd kube
panes:
- clear
- clear
- shell_command:
- echo "hi"
- window_name: go-furnace
layout: main-vertical
automatic-rename: 'off'
shell_command_before:
- wd furnace
panes:
- clear
- clear
```