Skip to content

Greg-T8/Profiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

476 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Profiles

A collection of configuration files and profiles for various development tools and environments.

⚡ Quick Bootstrap

PowerShell Profile

# One-liner to install PowerShell profile from GitHub
irm https://raw.githubusercontent.com/Greg-T8/Profiles/main/PowerShell/bootstrap.ps1 | iex

Linux/Docker Container Setup

# One-liner to setup Linux/Docker environment from GitHub
curl -fsSL https://raw.githubusercontent.com/Greg-T8/Profiles/main/Linux/bootstrap-docker.sh | bash

For minimal Docker images without curl or wget pre-installed:

apt-get update && apt-get install -y curl && curl -fsSL https://raw.githubusercontent.com/Greg-T8/Profiles/main/Linux/init-docker.sh | bash

🚀 Manual Setup

For manual configuration or customization, use the following setup instructions.

Linux Configurations

Docker Container Quick Setup

The init-docker.sh script provides automated setup for Docker containers:

# Clone repository first
git clone https://github.com/Greg-T8/Profiles.git ~/profiles
cd ~/profiles/Linux

# Make executable and run
chmod +x init-docker.sh
./init-docker.sh

What it does:

  • Automatically installs vim, git, curl, wget
  • Creates symlinks for .bashrc, .vimrc, .inputrc
  • Configures vi mode and custom prompt
  • Works with apt-get, yum, and apk package managers

Vim

# Create symlink to .vimrc
ln -s ~/path/to/Profiles/Linux/.vimrc ~/.vimrc

Features:

  • Vi mode with cursor shape changes
  • Line numbers (absolute + relative)
  • Color column at 80 characters
  • Desert color scheme
  • Custom leader key mappings (Space)
  • No line wrapping with line break indicators

ZSH

# Create symlink to .zshrc
ln -s ~/path/to/Profiles/Linux/.zshrc ~/.zshrc
source ~/.zshrc

Features:

  • Vi mode keybindings with visual cursor feedback
  • History substring search (PowerShell-like # + Tab)
  • Git branch integration in prompt
  • Custom two-line prompt with box-drawing characters
  • Enhanced tab completion
  • Command history search with Up/Down arrows

Optional Plugin:

# Install history substring search for enhanced functionality
git clone https://github.com/zsh-users/zsh-history-substring-search ~/.zsh/zsh-history-substring-search

Neovim

# Create symlink to Neovim config
ln -s ~/path/to/Profiles/Neovim ~/.config/nvim

Features:

  • Lazy.nvim plugin manager
  • Separate configurations for Neovim and VSCode Neovim
  • Lualine status bar
  • Neo-tree file explorer
  • Vim-move for moving lines/blocks

PowerShell

Automated Installation

The Install-RemoteProfile.ps1 script provides automated setup:

# Clone repository first
git clone https://github.com/Greg-T8/Profiles.git "$env:OneDrive\Apps\Profiles"
cd "$env:OneDrive\Apps\Profiles\PowerShell"

# Run installer
.\Install-RemoteProfile.ps1

Or use the bootstrap one-liner (see Quick Bootstrap section above).

What it does:

  • Creates symlinks to PowerShell profile files
  • Sets up profile directory structure
  • Configures PSReadLine with Vi mode
  • Installs custom prompt with Git integration

Manual Setup

# Create symlink to PowerShell profile
New-Item -ItemType SymbolicLink -Path $PROFILE.CurrentUserAllHosts -Target "C:\path\to\Profiles\PowerShell\profile.ps1"

Features:

  • Custom two-line prompt with Git integration (Posh-Git)
  • Vi mode with cursor shape changes
  • Helper functions and aliases for Docker, Terraform, etc.
  • PSScriptAnalyzer settings included
  • Work configuration support

Visual Studio Code

# Windows
mklink /D "%APPDATA%\Code\User\snippets" "C:\path\to\Profiles\VSCode\snippets"
mklink "%APPDATA%\Code\User\settings.json" "C:\path\to\Profiles\VSCode\settings.json"
mklink "%APPDATA%\Code\User\keybindings.json" "C:\path\to\Profiles\VSCode\keybindings.json"

# Linux/Mac
ln -s ~/path/to/Profiles/VSCode/snippets ~/.config/Code/User/snippets
ln -s ~/path/to/Profiles/VSCode/settings.json ~/.config/Code/User/settings.json
ln -s ~/path/to/Profiles/VSCode/keybindings.json ~/.config/Code/User/keybindings.json

Features:

  • Custom keybindings
  • Code snippets for PowerShell and Markdown
  • GitHub Copilot chat modes and instructions
  • Coding guidelines and style guides

Windows Terminal

# Windows Terminal settings location
# Copy or symlink to: %LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json

About

My custom profile configurations, including VS Code, Neovim, PowerShell, and Linux tooling.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors