Skip to content

Commit

Permalink
file_directory: added alias to find all broken symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
davidandreoletti committed Mar 14, 2024
1 parent 42bb56c commit c4e27e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .oh-my-shell/shellrc/plugins/file_directory/aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ alias touch='f_file_directory_create_missing_dirs_file 1 '
# Create file and possibly missing parent, then edit
# usage: touch /path/to/missing/dir/file.txt
alias edit='f_file_directory_create_missing_dirs_file 0 '

# Find all broken symbolic links
# usage: find_broken_symbolic_link /path/to/some/folder
alias find_broken_symbolic_link='find -L -xtype l'

0 comments on commit c4e27e1

Please sign in to comment.