https://github.com/benct/dotfiles
Personal dotfiles for various applications, configurations and things.
https://github.com/benct/dotfiles
dotfiles
Last synced: 3 months ago
JSON representation
Personal dotfiles for various applications, configurations and things.
- Host: GitHub
- URL: https://github.com/benct/dotfiles
- Owner: benct
- Created: 2019-01-30T22:15:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-09-03T15:12:43.000Z (almost 3 years ago)
- Last Synced: 2025-03-22T22:43:28.855Z (over 1 year ago)
- Topics: dotfiles
- Language: Shell
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# .files
Personal dotfiles for various applications, configurations and whatever.
## Installation
Clone the repository, copy the necessary files to your `$HOME` folder and run the `source` command.
```bash
git clone https://github.com/benct/dotfiles.git && cd dotfiles
cp .* ~/
source ~/.bash_profile
```
Set up macos defaults:
```bash
source ~/.macos
```
## Mac Setup
### Install
```bash
# Bash
brew install bash
chsh -s /bin/bash
# Java
brew tap AdoptOpenJDK/openjdk
brew cask install adoptopenjdk14
# Docker
brew cask install docker
docker login -u $ARTIFACTORY_USER -p $ARTIFACTORY_PWD containers.schibsted.io
# NVM
brew install nvm
mkdir ~/.nvm
nvm install
# Other
brew install wget
brew install direnv
brew install sshuttle
```
### Update
```bash
# Update App Store apps
sudo softwareupdate -i -a
# Update Homebrew (Cask) & packages
brew update
brew upgrade
```
## Useful(?) stuff
### General
```bash
find .
find ~/ |grep something
ps aux |grep something
kill -9
kill $(ps aux | grep something | awk '{print $2}')
```
### Git
```bash
git log
git show
git diff HEAD~1
git clean -dfx
git config --list --local
git config user.email "ben@tomlin.no"
git config user.name "benct"
git pull
git checkout -b ""
git push origin
```