Skip to content

maxhelias/dotfiles-macos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Install    Terminal    Git configuration    Brew install

What's inside?

Install

Run this command :

curl -s https://raw.githubusercontent.com/maxhelias/dotfiles-macos/master/install.sh | sh

Authentificate to Github and signing commits using SSH Key

Generate SSH key

ssh-keygen -t ed25519 -C "name@email.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
xclip -selection clipboard < ~/.ssh/id_ed25519.pub

Copy the key on GitHub, do it twice :

  • once for Key type "Authentification Key"
  • once for Key type "Signing commits"

The configuration is already ready in this file.

To check if it's working, create a new git repository on any empty dir :

git init
git commit --allow-empty --message="Testing SSH signing"
# If working properly, output will be:
[main 9xxx104] Testing SSH signing

Usage

Bin

# System
empty_trash # Clear all cache
short_pwd # Display short pwd
update_apps # Update macOS / brew / brew cask / composer & npm global

Alias

# System
brew-upgrade # Update all brew package and write all information in upgrade-$( date +%F ).log file
c # Clear
q # Exit

# Git
batdiff # Beautiful git diff
fzf-gc # Beautiful git checkout

# Directory
mkcd # Create and go
ls # Display directory with exa
ll # Like ll with hidden
fzf-preview # Display directory recursively with a preview
tree # Display a tree recursive with detail
tmp # Go to /tmp folder

# Info
privateip # Display private IP
publicip # Display public IP
ping # Pretty ping
mypath # Pretty PATH 
count # Count all file on the directory recursively withou node_modules, tests, var and vendor
weather $1 # Display the weather in $1 city

# Config
zshconfig # Edit ~/.zsh file
ohmyzsh # Edit ~/.oh-my-zsh
sc # Run source ~/.zshrc

# Docker
dc # docker-compose
dc-rmi # Down and remove all images and volume with orphans on the projet directory
blackfire-curl # Run blackfire curl on the current project container
blackfire-run # Run balckfire run on the current project container

# Symfony
sc # Run the Security Checker on the current project
sf # Run Symfony Console on the current project
sfcl # Hard delete cache folder
sfcll # Hard delete log file on logs folder
certificationy # Training PHP/Symfony certification

About

💻 [dot]files - Config files for my macos systems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published