dot_files | My .dot_files and custom system configs | Command Line Interface library
kandi X-RAY | dot_files Summary
kandi X-RAY | dot_files Summary
My .dot_files and custom system configs.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of dot_files
dot_files Key Features
dot_files Examples and Code Snippets
Community Discussions
Trending Discussions on dot_files
QUESTION
I've made a manager for my dot files that creates sym links between each of the dot files in my dot_files/ dir and my $HOME.
I'm trying to write a script that deletes all of these specific sym links and no others.
Here's my O(n^2) solution that does the job fine.
...ANSWER
Answered 2019-Apr-03 at 19:19bash
has associative arrays. We can store a unique identifier for each dotfile and then check the home directory files for a match.
I believe this is O(m+n) compared to your original O(m*n).
Here's an example using inode:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install dot_files
Use Homebrew to install tmux, tmuxinator.
Set vim as default editor and install vundle
Get oh-my-zsh(recommended).
Clone this repo and create symlinks
Change the terminal theme to material-shell: Terminal -> Preferences -> Profiles Expand the Settings icon at the bottom of list of themes in left sidebar Import the $DOT_FILES_DIR/osx/materialshell-dark.terminal theme and set as Default. Restart terminal
Install Vim plugins Open vimrc, vi $HOME/.vimrc :PluginInstall
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page