All Projects → StefanScherer → dotfiles

StefanScherer / dotfiles

Licence: MIT license
My dotfiles for Mac / Linux boxes and WSL

Programming Languages

shell
77523 projects
Vim Script
2826 projects
perl
6916 projects

Projects that are alternatives of or similar to dotfiles

webi-installers
Primary and community-submitted packages for webinstall.dev
Stars: ✭ 421 (+1102.86%)
Mutual labels:  wsl-ubuntu, wsl2
convey
Communication through a serial port or named pipe
Stars: ✭ 46 (+31.43%)
Mutual labels:  wsl2
runx
Provide X server on MS Windows with cookie authentication.
Stars: ✭ 67 (+91.43%)
Mutual labels:  wsl2
WSAGAScript
Scripts to install Google Apps into a WSA image. Plus optional root
Stars: ✭ 2,006 (+5631.43%)
Mutual labels:  wsl2
proton wsl2
Proton Kernel for the Windows Subsystem for Linux 2 (WSL 2). Highly experimental and always at the mercy of Windows Update.
Stars: ✭ 23 (-34.29%)
Mutual labels:  wsl2
WSLackware
Slackware for WSL!
Stars: ✭ 38 (+8.57%)
Mutual labels:  wsl2
dotfiles
Cross platform home directory settings
Stars: ✭ 17 (-51.43%)
Mutual labels:  wsl2
idfx
Tool for flash/monitor ESP-IDF and ESP8266_SDK apps on the WSL2 ⚡
Stars: ✭ 71 (+102.86%)
Mutual labels:  wsl2
cxfuse
Crossmeta FUSE Windows Port
Stars: ✭ 55 (+57.14%)
Mutual labels:  wsl-ubuntu
config-public
Linux/WSL config to optimize ergonomics, security, and productivity: vim/neovim, zsh, tmux, i3, emacs, vscode, ipython, jupyter, ranger, fzf, kitty, xkb, selfquant, firejail, systemd, etc
Stars: ✭ 14 (-60%)
Mutual labels:  wsl2
nvim-ghost.nvim
👻 GhostText plugin for Neovim with zero dependencies 🎉 Supports neovim running inside WSL too! 🥳 Windows/Linux/macOS supported out-of-the-box! 😄 (Other OSes need python3.6+ installed)
Stars: ✭ 32 (-8.57%)
Mutual labels:  wsl2
nix-config
NixOS configuration (also on WSL)
Stars: ✭ 51 (+45.71%)
Mutual labels:  wsl2
WSL-Distro-Rootfs
Install anyrootfs as a WSL Instance (for Windows 10 FCU 64bit or later) [WSL-DistroLauncher](https://github.com/yuk7/WSL-DistroLauncher)
Stars: ✭ 22 (-37.14%)
Mutual labels:  wsl-ubuntu
wsl-distrod
Distrod is a meta-distro for WSL 2 which installs Ubuntu, Arch, Debian, Gentoo, etc. with systemd in a minute for you. Distrod also has built-in auto-start feature on Windows startup and port forwarding ability.
Stars: ✭ 1,637 (+4577.14%)
Mutual labels:  wsl2
portos
WSL2 distribution manager (coming soon)
Stars: ✭ 26 (-25.71%)
Mutual labels:  wsl2
one-script-wsl2-systemd
The one-script variant of the systemd hack for WSL2
Stars: ✭ 196 (+460%)
Mutual labels:  wsl2
ubuntu
WSL、Ubuntu 、OSX、CentOS & Docker
Stars: ✭ 22 (-37.14%)
Mutual labels:  wsl-ubuntu
dotfiles
Dotbot managed dotfiles for a polyglot dev using WSL. Includes PowerShell stuff for Windows Installation
Stars: ✭ 14 (-60%)
Mutual labels:  wsl2
wsl-debian-boxes
Scripts to create multiple personalized WSL machines fast.
Stars: ✭ 22 (-37.14%)
Mutual labels:  wsl2
bash-zsh-on-windows-cmder
Integration of Bash, ZSH on Windows with Cmder
Stars: ✭ 37 (+5.71%)
Mutual labels:  wsl-ubuntu

dotfiles

Add some tweaks into current Unix/Ubuntu user's home directory. Inspired by https://github.com/paulirish/dotfiles for MacOS. For Windows I prefer my https://github.com/StefanScherer/dotfiles-windows.

This is what the terminal looks like

dotfiles.png

Installation

git clone https://github.com/StefanScherer/dotfiles && cd dotfiles && ./sync.sh

To update later on, just run the sync.sh again.

The usage of sync.sh is

sync.sh [--all|-a] [--force|-f]

--all|-a     install all tools, also YouCompleteMe (big dependencies)
--force|-f   force overwriting files in $HOME

Tools

  • autoenv - Directory-based environments
  • addtime: show relative time stamp in stdout of another tool. Usage: anothertool | addtime
  • timeref: show relative time diffs in logfile. Usage: timeref logfile | gvim -
  • Fn + F12: toggle One Dark/Light theme in terminal
  • t: toggle Dark Mode of macOS and Windows from WSL
  • whoseport: Who is running that port?
  • z: "z foo" - cd to most frecent dir matching foo

Aliases

  • ..: one dir up
  • ...: two dirs up
  • ....: three dirs up
  • .....: four dirs up
  • ~: go into users home directory
  • eachdir: start a command for all sub directories
  • gi: create .gitignore file, see gitignore.io
  • gitcloneall: clone all repos of an organization or user
    Usage: gitcloneall [email protected]:YOUR_ORG [user[:pass]]
    Clones all repos of a GitHub org or user.
    
    gitcloneall [email protected]:StefanScherer
    gitcloneall [email protected]:myorg myuser:password_to_access_private_repos
    
  • gitall: start a git command for all sub directories
    gitall pull
    
    vi */README.md
    
    gitall add README.md
    gitall commit -m "updated README.md"
    gitall push
    
  • gitls: show git status of all repos in current dir, you may add args like in ls to filter dirs gitls.png
  • git undo-commit: undo last commit, as it says
  • hosts: edit your hosts file
  • logvi logfile: view a log file with relative times in gvim
  • ssh-me: copy my SSH key to remote machine and install my dotfiles there

Docker

  • dps: like docker ps, but with less columns
  • dm: docker-machine shortener: dm dev or dm start dev or dm ip dev ...
    • dm dev is a shortcut for eval $(docker-machine env dev)
    • also integrates my windows-docker-machine's 2016, 1709 and insider using Vagrant to start/stop them
    • also integrates my docker-windows-azure machines az2016 and az1709 using azure cli to start/stop them

VIM

  • installs Vundle and some other stuff
  • EditorConfig

VIM commands

  • ,c: show trailing white space
  • ,ss: strip trailing white space
  • ,e: format JavaScript code with esformatter (npm install -g esformatter)

Setup a new Mac box

The simplest way to setup a new Mac box is to download and run the setup-mac script.

curl https://raw.githubusercontent.com/StefanScherer/dotfiles/master/setup-mac | bash

check_macos_updated install_brew install_dotfiles install_terminal_profiles install_brew_packages

  1. It will run all macOS updates before it installs anything. Maybe you have to run it again after installing updates and rebooting the machine.
  2. It install brew
  3. It clones this dotfiles repo and executes the sync.sh script to install/update it
  4. It installs the One Dark/Light terminal profiles
  5. It installs all brew packages in brew.txt
  6. It installs all brew casks in cask.txt

Things you have to do manually

  • Run SizeUp and enter the license
  • Insert your Vagrant VMware license

Licensing

Copyright (c) 2014 Stefan Scherer

MIT License, see LICENSE.txt for more details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].