Skip to content

nicklm0/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

This repository contains my personal configuration files (dotfiles) for various development tools and environments. These dotfiles help streamline my workflow and set up a consistent development environment.

For Linux Environment

Tools and Installation Guides

Here are the documentations of the tools that i use on the fly:

Windows PowerShell and WSL Environment

Here are the documentations of the tools that i oftenly used on the win 11 env:

inside the powershell config

#invoke the oh-my-posh
# follow the instructions for the install https://ohmyposh.dev/docs/installation/windows
#(@(& 'C:/Users/user/AppData/Local/Programs/oh-my-posh/bin/oh-my-posh.exe' init pwsh --config='' --print) -join "`n") | Invoke-Expression

#this chunk will change the theme locate the themes on the path bellow this comment
#oh-my-posh init pwsh --config 'C:\Users\user\AppData\Local\Programs\oh-my-posh\themes\amro.omp.json' | Invoke-Expression

#starship prompt 
Invoke-Expression (&starship init powershell)

#disable autopredict 
Set-PSReadLineOption -PredictionSource None

# Import-Module PSReadLine
Remove-Module PSReadLine

#Fzf install
#scoop install fzf
#Install-Module -Name PSFzf -Scope CurrentUser -Force
Import-Module PSFzf
Set-PsFzfOption -PSReadlineChordProvider 'Ctrl+f' -PSReadlineChordReverseHistory 'Ctrl+r'

#terminal icons: Install-Module -Name Terminal-Icons -Repository PSGallary -Force
#Import-Module Terminal-Icons
Import-Module -Name Terminal-Icons

# Alias
Set-Alias -Name vim -Value nvim
Set-Alias ll ls
Set-Alias g git
Set-Alias grep findstr
Set-Alias tig 'C:\Program Files\Git\usr\bin\tig.exe'
Set-Alias less 'C:\Program Files\Git\usr\bin\less.exe'

#PsReadline autocomplete
#Install-Module -Name PSReadLine -AllowPrerelease -Scope CurrentUser -Force -SkipPublisherCheck
#Set-PSReadlineOption -PredictionSource History
#Set-PSReadlineOption --PredictionViewStyle ListVie


# Utilities
function which ($command) {
  Get-Command -Name $command -ErrorAction SilentlyContinue |
    Select-Object -ExpandProperty Path -ErrorAction SilentlyContinue
}

  # install lazygit
#scoop bucket add extras
#Install lazygit
#scoop install lazygit

About

My dotfiles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published