dot·files: hidden files in a directory (folder) which are commonly used for storing user preferences or preserving the state of a utility
One of the many heralds of geekdom is an extremely customized environment. This is the history of our journey down that path.
We use vim and Z-Shell as our primary tools for getting things done. We track our code with Git. Much of that code is written in Python and NodeJS.
Our many thanks to the wonderful Cassie Meharry, whose original dotfiles was a guide.
To install dotfiles clone the repository and run ./wsl-install
cd /u
git clone https://github.com/directbuy/dotfiles
/bin/bash ./wsl-install
to install dotfiles, clone the repository and run ./install_posh.ps1
set-executionpolicy -force -executionpolicy allsigned -scope process
install_posh.ps1
install_vim.ps1
when etting up a server, install much the same way, but use the global flag so that dotfiles are made available to all users
install_posh.ps1 -global
install_vim.ps1
2ps has made some speed improvements please be sure to grab most recent commit of dotfiles.
Also included in this update:
Type fab and hit up arrow to show any command that you have used in your history that contains fab. Up and down arrow command functionality still present as well after this update.
Type a long string: echo "this is a super long string for us to try to use our new fun edit functionality on this will be something very cool for us to use in the future." Once you push enter and go to new line type fc then press enter. This will open up your last line in a vim window for easier editing!
Type
fix_resolv_conf
in a new shell and the function will add the nameservers to your resolv.conf!
Support for the bash commands:
"awk", "emacs", "grep", "head", "less", "ls", "man", "sed", "seq", "ssh", "tail", "touch"
has been added to powershell for use on the windows side of your windows machine. Tab completion for these commands
is included.